diff --git a/controllers/suite_test.go b/controllers/suite_test.go index 9bd666ae7..3d534695f 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -75,6 +75,8 @@ var _ = BeforeSuite(func(done Done) { ErrorIfCRDPathMissing: true, } + testEnv.ControlPlane.GetAPIServer().Configure().Set("disable-admission-plugins", "MutatingAdmissionWebhook", "ValidatingAdmissionWebhook") + cfg, err := testEnv.Start() Expect(err).NotTo(HaveOccurred()) Expect(cfg).NotTo(BeNil())