k3s/test/e2e/apimachinery
Kubernetes Submit Queue be87ea1566
Merge pull request #59010 from cheftako/webhook-crd
Automatic merge from submit-queue (batch tested with PRs 59010, 59212, 59281, 59014, 59297). 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 AdmissionWebhook e2e-crd tests

**What this PR does / why we need it**: Several of the tests("It") in the e2e suite reuse the CRD.
However they each try to setup and tear down the CRD independently.
Since these tests can be running in parallel, causing intermittant
failures.
Changes the test to set up one shared CRD and reuse.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #58855

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
2018-02-07 15:27:37 -08:00
..
BUILD Promote v1alpha1 meta to v1beta1 2018-02-02 14:00:45 -05:00
aggregator.go Update etcd server version to 3.2.13 2018-02-02 17:25:13 -08: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
custom_resource_definition.go Add dns, configmap, and custom resource definition conformance 2017-11-01 08:58:56 -07:00
etcd_failure.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
framework.go
garbage_collector.go Use batch client with explicit version 2017-11-23 09:32:13 +08:00
generated_clientset.go use core client with explicit version globally 2017-10-27 15:48:32 +08: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 use core client with explicit version globally 2017-10-27 15:48:32 +08:00
table_conversion.go Promote v1alpha1 meta to v1beta1 2018-02-02 14:00:45 -05:00
webhook.go Fix flaky AdmissionWebhook e2e-crd tests 2018-02-06 11:34:57 -08:00