k3s/test/e2e/apimachinery
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 apiextensions-apiserver: add pkg/cmd/server/testing pkg for integration bootstrapping 2018-07-05 17:34:16 +02:00
aggregator.go dry-run: Update DynamicClient to pass Create/Update options 2018-08-02 10:38:31 -07:00
certs.go Add a e2e test for the admission webhook 2017-10-27 15:58:23 -07:00
chunking.go API chunking tests should fail if limit is breached 2017-11-17 10:30:35 -05:00
crd_watch.go dry-run: Update DynamicClient to pass Create/Update options 2018-08-02 10:38:31 -07:00
custom_resource_definition.go Adding details to Conformance Tests using RFC 2119 standards. 2018-07-25 14:41:34 -07:00
etcd_failure.go Use pause manifest image 2018-04-06 11:00:50 +05:30
framework.go Move api-machinery related e2e tests to a 'api-machinery' e2e test subdirectory. 2017-07-14 14:04:50 -07:00
garbage_collector.go Merge pull request #67016 from dims/use-busybox-from-dockerhub 2018-08-07 11:44:06 -07:00
generated_clientset.go e2e test harness - use busybox from dockerhub 2018-08-07 11:22:16 -04:00
initializers.go Collect all the assorted image URLs from e2e tests in one place 2017-12-19 12:16:07 -05:00
namespace.go promoting namespace e2e tests for conformance 2018-06-19 16:05:44 +05:30
table_conversion.go Run server-side print tests only on k8s 1.10+ 2018-03-05 17:52:51 +01:00
watch.go Promote watch e2e test to conformance 2018-05-30 00:13:57 -07:00
webhook.go Added e2e test to check admission webhook works for pods/attach. 2018-08-06 18:59:52 -07:00