k3s/api/swagger-spec
Kubernetes Submit Queue d1636b8019
Merge pull request #66807 from caesarxuchao/remove-connectrequest
Automatic merge from submit-queue (batch tested with PRs 66196, 67016, 66807, 67023). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Make admission webhooks conversion convert CONNECT body correctly

Fix #59759.

1. Make apiserver pass connectRequest.Options directly to the admission layer. All other information in rest.ConnectRequest is present in admission attributes.
2. Make the scope.Kind of pod/attach, pod/exec, pod/portforward, node/proxy, service/proxy to their respective options Kind, instead of the parent Kind.

I've tested it locally, the conversion is working correctly for "kubectl attach". I'll add e2e tests.

I'll keep this to myself until I add the tests, but cc @mikedanese @liggitt RE. https://github.com/kubernetes/kubernetes/pull/66633.
2018-08-07 11:44:10 -07:00
..
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
admissionregistration.k8s.io.json generated 2018-05-21 18:04:54 -07:00
admissionregistration.k8s.io_v1alpha1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
admissionregistration.k8s.io_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
api.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
apis.json generated 2018-05-21 18:04:54 -07:00
apps.json generated 2018-05-21 18:04:54 -07:00
apps_v1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
apps_v1alpha1.json fixed some bad url 2018-01-10 22:05:00 +08:00
apps_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
apps_v1beta2.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
authentication.k8s.io.json generated 2018-05-21 18:04:54 -07:00
authentication.k8s.io_v1.json Update deletionTimestamp with information about finalizer effect 2017-11-03 10:48:48 +08:00
authentication.k8s.io_v1beta1.json Update deletionTimestamp with information about finalizer effect 2017-11-03 10:48:48 +08:00
authorization.k8s.io.json generated 2018-05-21 18:04:54 -07:00
authorization.k8s.io_v1.json autogenerated 2017-11-03 13:46:29 -07:00
authorization.k8s.io_v1beta1.json autogenerated 2017-11-03 13:46:29 -07:00
autoscaling.json generated 2018-05-21 18:04:54 -07:00
autoscaling_v1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
autoscaling_v2beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
batch.json generated 2018-05-21 18:04:54 -07:00
batch_v1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
batch_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
batch_v2alpha1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
certificates.k8s.io.json generated 2018-05-21 18:04:54 -07:00
certificates.k8s.io_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
coordination.k8s.io.json Autogenerated stuff 2018-06-27 13:31:10 +02:00
coordination.k8s.io_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
events.k8s.io.json generated 2018-05-21 18:04:54 -07:00
events.k8s.io_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
extensions.json generated 2018-05-21 18:04:54 -07:00
extensions_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
logs.json Update generated proto and swagger docs 2016-09-12 18:47:03 -07:00
networking.k8s.io.json generated 2018-05-21 18:04:54 -07:00
networking.k8s.io_v1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
policy.json generated 2018-05-21 18:04:54 -07:00
policy_v1alpha1.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
policy_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
rbac.authorization.k8s.io.json generated 2018-05-21 18:04:54 -07:00
rbac.authorization.k8s.io_v1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
rbac.authorization.k8s.io_v1alpha1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
rbac.authorization.k8s.io_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
resourceListing.json Autogenerated stuff 2018-06-27 13:31:10 +02:00
scheduling.k8s.io.json generated 2018-05-21 18:04:54 -07:00
scheduling.k8s.io_v1alpha1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
scheduling.k8s.io_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
settings.k8s.io.json generated 2018-05-21 18:04:54 -07:00
settings.k8s.io_v1alpha1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
storage.authorization.k8s.io_v1beta1.json generated code for moving StorageClass 2016-09-06 08:41:17 -04:00
storage.k8s.io.json generated 2018-05-21 18:04:54 -07:00
storage.k8s.io_v1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
storage.k8s.io_v1alpha1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
storage.k8s.io_v1beta1.json document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
v1.json Merge pull request #66807 from caesarxuchao/remove-connectrequest 2018-08-07 11:44:10 -07:00
version.json update autogenerated 2016-08-18 14:14:52 -07:00