k3s/docs
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
..
admin autogenerated 2018-06-06 23:41:10 +03:00
api-reference Merge pull request #66807 from caesarxuchao/remove-connectrequest 2018-08-07 11:44:10 -07:00
man/man1 autogenerated 2018-06-06 23:41:10 +03:00
user-guide/kubectl generated 2018-05-22 08:47:42 -04:00
yaml/kubectl generated 2018-05-22 08:47:42 -04:00
.generated_docs autogenerated 2018-06-06 23:41:10 +03:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
OWNERS Move .generated_docs to docs/ so docs OWNERS can review / approve 2017-02-16 10:11:57 -08:00