k3s/test
Kubernetes Submit Queue ce1cab3bfa
Merge pull request #62350 from jennybuckley/crd-tests-flaky
Automatic merge from submit-queue. 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>.

 Fix flaky crd e2e tests

Fixes #62345

/sig api-machinery
/kind flake
/priority failing-test

From the issue:
> All the tests that rely on creating a CustomResourceDefinition are flaky. This is because the test "AdmissionWebhook Should be able to deny custom resource creation" creates a validating webhook, called deny-crd.k8s.io, which denies all crd creations. This is an issue for any other test which will create a crd that gets run in parallel with that webhook test, causing them to fail with the message failed to create CustomResourceDefinition: admission webhook "deny-crd.k8s.io" denied the request: this webhook denies all requests

This PR changes the test webhook image to support handling a new "/crd" path which would accept and deny crd creations based on their labels, only denying if if the object has the label ```"webhook-e2e-test":"webhook-disallow"```, and updates the "AdmissionWebhook Should be able to deny custom resource creation" test to use that label.

**Release note**:
```release-note
NONE
```
2018-04-13 09:28:44 -07:00
..
conformance Adds daemonset conformance tests 2018-02-28 12:43:02 -08:00
e2e Merge pull request #62350 from jennybuckley/crd-tests-flaky 2018-04-13 09:28:44 -07:00
e2e_node Node E2E: Remove the simple mount test 2018-04-12 17:05:28 -07:00
fixtures Make Scale() for RC poll-based until #31345 is fixed 2018-02-27 13:10:38 +01:00
images Fix flaky crd e2e tests 2018-04-11 14:08:05 -07:00
integration Merge pull request #62230 from msau42/redo-integration 2018-04-10 18:19:09 -07:00
kubemark Bump etcd default server version to 3.2.18 2018-04-11 21:12:44 -07:00
list Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
soak Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
typecheck Deduplicate identical typecheck errors between platforms. 2018-03-28 19:42:48 -07:00
utils Merge pull request #62350 from jennybuckley/crd-tests-flaky 2018-04-13 09:28:44 -07:00
BUILD Add test/typecheck, a fast typecheck for all build platforms. 2018-02-27 13:53:32 -08:00
OWNERS Adding rramkumar1 and MrHohn as reviewer & approver to pkg/test 2018-03-21 11:53:18 -07:00
test_owners.csv Remove rkt references in the codebase 2018-04-06 12:02:11 -07:00
test_owners.json