k3s/pkg/kubectl
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
..
cmd Merge pull request #50546 from apelisse/plumb-openapi-validation 2017-08-22 21:16:11 -07:00
metricsutil Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
plugins Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
proxy Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
resource Remove kubectl's dependence on schema file in pkg/api/validation. 2017-08-16 16:38:28 -07:00
testing kubectl: simplify deepcopy calls 2017-08-16 10:58:51 +02:00
util move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
validation Remove kubectl's dependence on schema file in pkg/api/validation. 2017-08-16 16:38:28 -07:00
BUILD Remove kubectl's dependence on schema file in pkg/api/validation. 2017-08-16 16:38:28 -07:00
OWNERS
apply.go
autoscale.go
bash_comp_utils.go
cluster.go
cluster_test.go
clusterrolebinding.go
configmap.go
configmap_test.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
delete.go rename this file to delete.go to avoid confusion 2017-07-29 03:29:14 +00:00
delete_test.go kubectl: simplify deepcopy calls 2017-08-16 10:58:51 +02:00
deployment.go kubectl: deploy generators don't need to impl Generator iface 2017-07-31 12:26:17 -07:00
doc.go
env_file.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
env_file_test.go
explain.go cmd/explain: make 'recursive' local var (not global) 2017-08-01 15:25:56 -07:00
generate.go UTs for pkg/kubectl generate_test.go 2017-08-03 21:34:03 +08:00
generate_test.go UTs for pkg/kubectl generate_test.go 2017-08-03 21:34:03 +08:00
history.go Merge pull request #50008 from atlassian/meta-controller-ref 2017-08-10 17:07:30 -07:00
interfaces.go
kubectl.go
kubectl_test.go
namespace.go
namespace_test.go
pdb.go
quota.go
quota_test.go
resource_filter.go Correctly filter terminated pods in kubectl 2017-07-11 17:32:56 -07:00
resource_filter_test.go Add test for kubectl resource filter. 2017-07-12 11:44:28 -07:00
rolebinding.go
rolebinding_test.go
rollback.go Merge pull request #49830 from jianglingxia/jlx72916 2017-08-09 22:07:15 -07:00
rolling_updater.go kubectl: simplify deepcopy calls 2017-08-16 10:58:51 +02:00
rolling_updater_test.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00
rollout_status.go DS: kubectl changes 2017-07-25 11:47:57 -07:00
rollout_status_test.go
run.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
run_test.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
scale.go
scale_test.go fix error message for scale 2017-08-09 10:37:03 +08:00
secret.go
secret_for_docker_registry.go
secret_for_docker_registry_test.go
secret_for_tls.go
secret_for_tls_test.go
secret_test.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
service.go
service_basic.go
service_basic_test.go
service_test.go
serviceaccount.go
serviceaccount_test.go
sorting_printer.go Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
sorting_printer_test.go
versioned_client.go Fix printer hack to get a versioned client 2017-08-06 15:30:13 +02:00