Jordan Liggitt
fd9e9b01b1
Remove uses of extensions/v1beta1 clients
2018-12-19 11:18:53 -05:00
Sean Sullivan
9e2b995b54
kubectl validation test: remove unused testapi dependency
2018-10-02 13:09:29 -07:00
Antoine Pelisse
000510d9b7
Replace openapi Fake with kube-openapi version
...
There are two version of this fake class, let's just use that one
version.
2018-06-01 09:50:05 -07:00
Di Xu
82cc3b5d59
kubectl stops rendering List as suffix kind name for CRD resources
2018-04-19 21:21:03 +08:00
Antoine Pelisse
8f7262e819
Update kube-openapi to use validation
2017-11-02 09:25:03 -07:00
Sahdev P. Zala
07be0a057a
Create new unit tests for version and kind validation
...
This is a follow up PR per discussion in the
https://github.com/kubernetes/kubernetes/pull/53587
Creating new unit tests here for basic and aggregated validation of version
and kind group.
2017-10-17 23:10:20 -04:00
Guangya Liu
e005da697c
Fixed test issue for image validation.
2017-09-20 00:38:28 -04:00
ymqytw
c17103f184
Revert "remove dup pkg and update reference"
...
This reverts commit 93be3f7735
.
Revert "update vendor kube-openapi"
This reverts commit 006f80e35d
.
2017-09-06 12:30:53 -07:00
ymqytw
93be3f7735
remove dup pkg and update reference
2017-09-04 18:20:25 -07:00
Antoine Pelisse
37aacf30b5
openapi validation: Ignore unknown types
...
This follows the exact same logic as swagger.
2017-08-21 09:08:31 -07:00
Antoine Pelisse
a950afecdc
openapi-validation: Handle List special case
2017-08-21 09:08:31 -07:00
Antoine Pelisse
4e87d2d572
openapi: Handle properly empty/null fileds
2017-08-21 09:08:31 -07:00
Antoine Pelisse
aa1c79f32b
openapi: Use "group" to look for resources
2017-08-21 09:08:31 -07:00
Antoine Pelisse
b7b5457050
Validate against OpenAPI schema (if available)
2017-08-21 08:58:42 -07:00
Antoine Pelisse
ba11c7370f
openapi: Add validation logic
...
This allows validation of a yaml/json object against an openapi schema.
A lot more testing would be needed to validate the logic, and also this
is not plumbed in, so it can't be used by kubectl yet.
2017-08-11 17:02:31 -07:00