Merge pull request #94685 from verb/ec-admission

Convert to EphemeralContainers for validation in EphemeralContainersREST
This commit is contained in:
Kubernetes Prow Robot
2020-09-30 00:29:25 -07:00
committed by GitHub
2 changed files with 16 additions and 1 deletions

View File

@@ -480,6 +480,8 @@ func testWebhookAdmission(t *testing.T, watchCache bool) {
"--disable-admission-plugins=ServiceAccount,StorageObjectInUseProtection",
// force enable all resources so we can check storage.
"--runtime-config=api/all=true",
// enable feature-gates that protect resources to check their storage, too.
"--feature-gates=EphemeralContainers=true",
}, etcdConfig)
defer server.TearDownFn()