Skip to content

Commit 04006d2

Browse files
authored
Merge pull request #734 from RaunakShah/rm-v1beta1-webhook
Remove v1beta1 from admission config template
2 parents 994eec6 + 13f9daa commit 04006d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/kubernetes/webhook-example/admission-configuration-template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ webhooks:
66
- name: "validation-webhook.snapshot.storage.k8s.io"
77
rules:
88
- apiGroups: ["snapshot.storage.k8s.io"]
9-
apiVersions: ["v1", "v1beta1"]
9+
apiVersions: ["v1"]
1010
operations: ["CREATE", "UPDATE"]
1111
resources: ["volumesnapshots", "volumesnapshotcontents", "volumesnapshotclasses"]
1212
scope: "*"
@@ -16,7 +16,7 @@ webhooks:
1616
name: "snapshot-validation-service"
1717
path: "/volumesnapshot"
1818
caBundle: ${CA_BUNDLE}
19-
admissionReviewVersions: ["v1", "v1beta1"]
19+
admissionReviewVersions: ["v1"]
2020
sideEffects: None
2121
failurePolicy: Ignore # We recommend switching to Fail only after successful installation of the webhook server and webhook.
2222
timeoutSeconds: 2 # This will affect the latency and performance. Finetune this value based on your application's tolerance.

0 commit comments

Comments
 (0)