Kubernetes Submit Queue
49c36f4b33
Merge pull request #50546 from apelisse/plumb-openapi-validation
...
Automatic merge from submit-queue (batch tested with PRs 51039, 50512, 50546, 50965, 50467)
Kubectl: Plumb openapi validation (disabled by default)
**What this PR does / why we need it**: Creates a new flag '--openapi' and plumb in the validation code so that it can be used by default to validate objects against the openapi schema.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: partially https://github.com/kubernetes/kubectl/issues/49
**Special notes for your reviewer**:
This is not complete, the name of the variable must change for example.
**Release note**:
```release-note
Kubectl uses openapi for validation. If OpenAPI is not available on the server, it defaults back to the old Swagger.
```
2017-08-22 21:16:11 -07:00
..
2017-08-11 09:32:39 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-08-17 22:24:23 -07:00
2017-08-11 09:32:39 -07:00
2017-08-11 19:44:04 -07:00
2017-08-21 08:58:42 -07:00
2017-08-21 09:08:31 -07:00
2017-08-16 12:27:36 -07:00
2017-06-05 11:06:48 +08:00
2017-08-17 20:27:11 +08:00
2017-08-16 12:27:36 -07:00
2017-06-23 09:49:30 -07:00
2017-08-16 12:27:36 -07:00
2017-07-18 12:55:34 -03:00
2017-08-17 20:27:11 +08:00
2017-08-21 08:58:42 -07:00
2017-05-19 02:04:59 +08:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-06-26 11:38:36 -04:00
2017-08-22 19:45:34 -07:00
2017-08-16 12:27:36 -07:00
2017-08-21 08:58:42 -07:00
2017-08-16 12:27:36 -07:00
2017-06-02 19:53:40 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-01-25 08:29:48 -05:00
2017-08-16 12:27:36 -07:00
2017-07-18 13:17:45 -07:00
2017-08-16 12:27:36 -07:00
2017-01-25 08:29:48 -05:00
2017-08-16 12:27:36 -07:00
2017-05-26 17:38:26 +08:00
2017-08-16 12:27:36 -07:00
2017-05-24 10:14:00 +08:00
2017-08-16 12:27:36 -07:00
2017-06-03 18:30:40 -07:00
2017-08-16 12:27:36 -07:00
2017-03-29 16:36:22 +08:00
2017-08-16 12:27:36 -07:00
2017-01-25 08:29:48 -05:00
2017-08-16 12:27:36 -07:00
2017-05-16 18:45:38 +08:00
2017-08-16 12:27:36 -07:00
2017-01-25 08:29:48 -05:00
2017-08-16 12:27:36 -07:00
2017-01-26 19:59:16 -05:00
2017-08-21 08:58:42 -07:00
2017-05-11 09:11:07 -04:00
2017-08-16 12:27:36 -07:00
2017-01-26 19:59:25 -05:00
2017-08-17 20:27:11 +08:00
2017-08-16 10:58:51 +02:00
2017-08-16 12:27:36 -07:00
2017-08-10 11:01:01 -04:00
2017-08-16 12:27:36 -07:00
2017-06-30 15:00:24 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-02-23 00:28:32 -05:00
2017-08-16 12:27:36 -07:00
2017-08-11 10:50:06 +08:00
2017-08-17 20:27:11 +08:00
2017-08-16 12:27:36 -07:00
2017-06-05 11:06:48 +08:00
2017-08-17 20:27:11 +08:00
2017-01-25 08:29:48 -05:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 10:58:51 +02:00
2017-08-16 12:27:36 -07:00
2017-05-19 19:17:43 -03:00
2017-08-16 12:27:36 -07:00
2017-04-04 10:36:30 +01:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-01-26 19:59:16 -05:00
2017-08-21 08:58:42 -07:00
2017-05-11 20:09:31 +08:00
2017-08-21 08:58:42 -07:00
2017-08-16 12:27:36 -07:00
2017-08-17 14:30:46 +08:00
2017-08-16 12:27:36 -07:00
2017-08-16 10:58:51 +02:00
2017-08-17 20:27:11 +08:00
2017-08-17 18:08:26 -04:00
2017-08-21 08:26:23 -07:00
2017-08-17 18:08:26 -04:00
2017-08-21 08:26:23 -07:00
2017-07-25 10:04:25 +08:00
2017-08-21 08:26:23 -07:00
2017-08-16 12:27:36 -07:00