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 1/3] 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: From 86451e98fd21885e986c7e2f6ffca75407972b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= Date: Wed, 6 Jul 2022 23:19:09 +0200 Subject: [PATCH 2/3] deploy/kubernetes: Update csi-snapshotter images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update `csi-provisioner`, `csi-snapshotter` and `hostpathplugin` to their latest versions. Signed-off-by: Benoît Knecht --- .../kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml b/deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml index 70cbd59a..17017b4e 100644 --- a/deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml +++ b/deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml @@ -72,7 +72,7 @@ spec: serviceAccountName: csi-snapshotter containers: - name: csi-provisioner - image: k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0 + image: k8s.gcr.io/sig-storage/csi-provisioner:v3.2.1 args: - "--v=5" - "--csi-address=$(ADDRESS)" @@ -84,7 +84,7 @@ spec: - name: socket-dir mountPath: /csi - name: csi-snapshotter - image: gcr.io/k8s-staging-sig-storage/csi-snapshotter:v5.0.1 + image: gcr.io/k8s-staging-sig-storage/csi-snapshotter:v6.0.1 args: - "--v=5" - "--csi-address=$(ADDRESS)" @@ -97,7 +97,7 @@ spec: - name: socket-dir mountPath: /csi - name: hostpath - image: k8s.gcr.io/sig-storage/hostpathplugin:v1.7.2 + image: k8s.gcr.io/sig-storage/hostpathplugin:v1.8.0 args: - "--v=5" - "--endpoint=$(CSI_ENDPOINT)" From e202cf76e09925db745f8eac50872e15d7493f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= Date: Wed, 6 Jul 2022 23:20:46 +0200 Subject: [PATCH 3/3] deploy/kubernetes: Update snapshot-controller image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update `snapshot-controller` to its latest version. Signed-off-by: Benoît Knecht --- .../snapshot-controller/setup-snapshot-controller.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml b/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml index 1d8e7be7..0dda136a 100644 --- a/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml +++ b/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml @@ -33,7 +33,7 @@ spec: serviceAccountName: snapshot-controller containers: - name: snapshot-controller - image: gcr.io/k8s-staging-sig-storage/snapshot-controller:v5.0.1 + image: gcr.io/k8s-staging-sig-storage/snapshot-controller:v6.0.1 args: - "--v=5" - "--leader-election=true"