k3s/api
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
..
api-rules Move api rules list under api-approvers-owned package 2018-07-20 10:16:08 -04:00
openapi-spec Merge pull request #66807 from caesarxuchao/remove-connectrequest 2018-08-07 11:44:10 -07:00
swagger-spec Merge pull request #66807 from caesarxuchao/remove-connectrequest 2018-08-07 11:44:10 -07:00
OWNERS Create api-{approvers,reviewers} alias 2017-10-18 10:54:28 -07:00