Skip to content

Commit 30a9faf

Browse files
committed
✨ So this needs to be ignore, or there's a bootstrapping problem ...
1 parent 432aa4f commit 30a9faf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/webhook/manifests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ webhooks:
1414
name: webhook-service
1515
namespace: system
1616
path: /mutate-v1-pod
17-
failurePolicy: Fail
17+
failurePolicy: Ignore
1818
name: mpod.migrations.coderanger.net
1919
rules:
2020
- apiGroups:

webhook/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
const REQUIRE_MIGRATOR_ANNOTATION = "migrations.coderanger.net/required"
3838
const NOWAIT_MIGRATOR_ANNOTATION = "migrations.coderanger.net/no-wait"
3939

40-
// +kubebuilder:webhook:path=/mutate-v1-pod,mutating=true,failurePolicy=fail,sideEffects=None,groups="",resources=pods,verbs=create;update,versions=v1,name=mpod.migrations.coderanger.net
40+
// +kubebuilder:webhook:path=/mutate-v1-pod,mutating=true,failurePolicy=ignore,sideEffects=None,groups="",resources=pods,verbs=create;update,versions=v1,name=mpod.migrations.coderanger.net
4141

4242
// initInjector injects migration initContainers into Pods
4343
type initInjector struct {

0 commit comments

Comments
 (0)