Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
changed default webhook failure policy to fail (#473)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <[email protected]>

Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw authored Sep 16, 2022
1 parent 9cf5368 commit 287f392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhook/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (pm PodMutator) CreateMutationWebhookConfiguration(namespace string) (*admi
}

path := pm.GetMutatePath()
fail := admissionregistrationv1.Ignore
fail := admissionregistrationv1.Fail
sideEffects := admissionregistrationv1.SideEffectClassNoneOnDryRun

mutateConfig := &admissionregistrationv1.MutatingWebhookConfiguration{
Expand Down

0 comments on commit 287f392

Please sign in to comment.