Skip to content

Commit 2abb87a

Browse files
committed
🐛 Update webhook tags for 0.4.1.
1 parent 27151c8 commit 2abb87a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

config/crd/bases/migrations.coderanger.net_migrators.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.0
7+
controller-gen.kubebuilder.io/version: v0.4.1
88
creationTimestamp: null
99
name: migrators.migrations.coderanger.net
1010
spec:

config/webhook/manifests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ webhooks:
99
- admissionReviewVersions:
1010
- v1beta1
1111
clientConfig:
12-
caBundle: Cg==
1312
service:
1413
name: webhook-service
1514
namespace: system

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=ignore,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,admissionReviewVersions=v1beta1
4141

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

0 commit comments

Comments
 (0)