Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit 12b3955

Browse files
committed
Ignore failure until stable release
1 parent 56a33d1 commit 12b3955

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/webhook/v1/pod_webhook.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func SetupPodWebhookWithManager(mgr ctrl.Manager) error {
3535
Complete()
3636
}
3737

38-
// +kubebuilder:webhook:path=/mutate--v1-pod,mutating=true,failurePolicy=fail,sideEffects=None,groups="",resources=pods,verbs=create;update,versions=v1,name=mpod-v1.kb.io,admissionReviewVersions=v1
38+
// +kubebuilder:webhook:path=/mutate--v1-pod,mutating=true,failurePolicy=ignore,sideEffects=None,groups="",resources=pods,verbs=create;update,versions=v1,name=mpod-v1.kb.io,admissionReviewVersions=v1
3939

4040
type PodCustomDefaulter struct {
4141
client.Client
@@ -62,7 +62,7 @@ func (d *PodCustomDefaulter) Default(ctx context.Context, obj runtime.Object) er
6262
return nil
6363
}
6464

65-
// +kubebuilder:webhook:path=/validate--v1-pod,mutating=false,failurePolicy=fail,sideEffects=None,groups="",resources=pods,verbs=create;update,versions=v1,name=vpod-v1.kb.io,admissionReviewVersions=v1
65+
// +kubebuilder:webhook:path=/validate--v1-pod,mutating=false,failurePolicy=ignore,sideEffects=None,groups="",resources=pods,verbs=create;update,versions=v1,name=vpod-v1.kb.io,admissionReviewVersions=v1
6666

6767
type PodCustomValidator struct {
6868
client.Client

0 commit comments

Comments
 (0)