Skip to content

Commit 432aa4f

Browse files
committed
🚀 And the webhook patch.
1 parent 3c82e6a commit 432aa4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎config/default/webhookcainjection_patch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# This patch add annotation to admission webhook config and
22
# the variables $(CERTIFICATE_NAMESPACE) and $(CERTIFICATE_NAME) will be substituted by kustomize.
3-
apiVersion: admissionregistration.k8s.io/v1beta1
3+
apiVersion: admissionregistration.k8s.io/v1
44
kind: MutatingWebhookConfiguration
55
metadata:
66
name: mutating-webhook-configuration
77
annotations:
88
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
99
# ---
10-
# apiVersion: admissionregistration.k8s.io/v1beta1
10+
# apiVersion: admissionregistration.k8s.io/v1
1111
# kind: ValidatingWebhookConfiguration
1212
# metadata:
1313
# name: validating-webhook-configuration

0 commit comments

Comments
 (0)