Commit 8f4aacf6 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #47136 from smarterclayton/skip_on_not_found

Automatic merge from submit-queue Skip dynamic configuration of initializers test on alpha disable Fixes #47133
parents b8b5c68c a48ba287
......@@ -127,6 +127,9 @@ var _ = framework.KubeDescribe("Initializers", func() {
},
},
})
if errors.IsNotFound(err) {
framework.Skipf("dynamic configuration of initializers requires the alpha admissionregistration.k8s.io group to be enabled")
}
Expect(err).NotTo(HaveOccurred())
// we must remove the initializer when the test is complete and ensure no pods are pending for that initializer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment