From c39d717cbcdebe3d602990b7df54906561b35490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= Date: Wed, 6 Jul 2022 19:45:27 +0200 Subject: [PATCH] deploy/kubernetes: Update snapshot-validation-webhook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since 4f783f10f 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 --- deploy/kubernetes/webhook-example/webhook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/kubernetes/webhook-example/webhook.yaml b/deploy/kubernetes/webhook-example/webhook.yaml index d48f2ce6..3ccb648f 100644 --- a/deploy/kubernetes/webhook-example/webhook.yaml +++ b/deploy/kubernetes/webhook-example/webhook.yaml @@ -18,7 +18,7 @@ spec: serviceAccountName: snapshot-webhook containers: - name: snapshot-validation - 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 + 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 imagePullPolicy: IfNotPresent args: ['--tls-cert-file=/etc/snapshot-validation-webhook/certs/cert.pem', '--tls-private-key-file=/etc/snapshot-validation-webhook/certs/key.pem'] ports: