Skip to content

Commit

Permalink
changed default webhook failure policy to fail (flyteorg#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 60a71e3 commit 3036ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytepropeller/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 3036ace

Please sign in to comment.