Skip to content

Commit c39d717

Browse files
committed
deploy/kubernetes: Update snapshot-validation-webhook
Since 4f783f1 added validation for `volumesnapshotclasses`, the `snapshot-validation-webhook` needs to handle this kind of resource. But version 5.0.1 doesn't, which leads to failures when updating or creating `volumesnapshotclasses`. This commit updates the `snapshot-validation-webhook` version to 6.0.1 in `deploy/kubernetes/webhook-example/admission-configuration-template`. Signed-off-by: Benoît Knecht <[email protected]>
1 parent eb44754 commit c39d717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/kubernetes/webhook-example/webhook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
serviceAccountName: snapshot-webhook
1919
containers:
2020
- name: snapshot-validation
21-
image: k8s.gcr.io/sig-storage/snapshot-validation-webhook:v5.0.1 # change the image if you wish to use your own custom validation server image
21+
image: k8s.gcr.io/sig-storage/snapshot-validation-webhook:v6.0.1 # change the image if you wish to use your own custom validation server image
2222
imagePullPolicy: IfNotPresent
2323
args: ['--tls-cert-file=/etc/snapshot-validation-webhook/certs/cert.pem', '--tls-private-key-file=/etc/snapshot-validation-webhook/certs/key.pem']
2424
ports:

0 commit comments

Comments
 (0)