diff --git a/pkg/controllers/webhook/controller.go b/pkg/controllers/webhook/controller.go index d8893fe6aa..df18c3a5b1 100644 --- a/pkg/controllers/webhook/controller.go +++ b/pkg/controllers/webhook/controller.go @@ -547,7 +547,7 @@ func (c *controller) buildPolicyMutatingWebhookConfiguration(caBundle []byte) (* admissionregistrationv1.Update, }, }}, - FailurePolicy: &ignore, + FailurePolicy: &fail, SideEffects: &noneOnDryRun, ReinvocationPolicy: &ifNeeded, AdmissionReviewVersions: []string{"v1"}, @@ -569,7 +569,7 @@ func (c *controller) buildPolicyValidatingWebhookConfiguration(caBundle []byte) admissionregistrationv1.Update, }, }}, - FailurePolicy: &ignore, + FailurePolicy: &fail, SideEffects: &none, AdmissionReviewVersions: []string{"v1"}, }},