From 3e1577f13367644d10caec4a1e2d8050e02e5178 Mon Sep 17 00:00:00 2001 From: Eddie Torres Date: Wed, 1 Jun 2022 00:53:43 +0000 Subject: [PATCH] Fix unable to create CSI snapshot-EBS csi driver #1249 Signed-off-by: Eddie Torres --- .../aws-ebs-csi-driver/templates/clusterrole-snapshotter.yaml | 2 +- charts/aws-ebs-csi-driver/values.yaml | 2 +- deploy/kubernetes/base/clusterrole-snapshotter.yaml | 2 +- deploy/kubernetes/overlays/stable/ecr-public/kustomization.yaml | 2 +- deploy/kubernetes/overlays/stable/gcr/kustomization.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/aws-ebs-csi-driver/templates/clusterrole-snapshotter.yaml b/charts/aws-ebs-csi-driver/templates/clusterrole-snapshotter.yaml index d0c3fc93b8..38e688a8a2 100644 --- a/charts/aws-ebs-csi-driver/templates/clusterrole-snapshotter.yaml +++ b/charts/aws-ebs-csi-driver/templates/clusterrole-snapshotter.yaml @@ -21,7 +21,7 @@ rules: verbs: [ "get", "list", "watch" ] - apiGroups: [ "snapshot.storage.k8s.io" ] resources: [ "volumesnapshotcontents" ] - verbs: [ "create", "get", "list", "watch", "update", "delete" ] + verbs: [ "create", "get", "list", "watch", "update", "delete", "patch" ] - apiGroups: [ "snapshot.storage.k8s.io" ] resources: [ "volumesnapshotcontents/status" ] verbs: [ "update" ] diff --git a/charts/aws-ebs-csi-driver/values.yaml b/charts/aws-ebs-csi-driver/values.yaml index 2273d9fe3f..1e937d0ffe 100644 --- a/charts/aws-ebs-csi-driver/values.yaml +++ b/charts/aws-ebs-csi-driver/values.yaml @@ -35,7 +35,7 @@ sidecars: image: pullPolicy: IfNotPresent repository: k8s.gcr.io/sig-storage/csi-snapshotter - tag: "v3.0.3" + tag: "v6.0.1" logLevel: 2 resources: {} livenessProbe: diff --git a/deploy/kubernetes/base/clusterrole-snapshotter.yaml b/deploy/kubernetes/base/clusterrole-snapshotter.yaml index b14a3f839c..adf661bc1f 100644 --- a/deploy/kubernetes/base/clusterrole-snapshotter.yaml +++ b/deploy/kubernetes/base/clusterrole-snapshotter.yaml @@ -22,7 +22,7 @@ rules: verbs: [ "get", "list", "watch" ] - apiGroups: [ "snapshot.storage.k8s.io" ] resources: [ "volumesnapshotcontents" ] - verbs: [ "create", "get", "list", "watch", "update", "delete" ] + verbs: [ "create", "get", "list", "watch", "update", "delete", "patch" ] - apiGroups: [ "snapshot.storage.k8s.io" ] resources: [ "volumesnapshotcontents/status" ] verbs: [ "update" ] diff --git a/deploy/kubernetes/overlays/stable/ecr-public/kustomization.yaml b/deploy/kubernetes/overlays/stable/ecr-public/kustomization.yaml index 4fdea8503b..f684dd5f2e 100644 --- a/deploy/kubernetes/overlays/stable/ecr-public/kustomization.yaml +++ b/deploy/kubernetes/overlays/stable/ecr-public/kustomization.yaml @@ -16,7 +16,7 @@ images: newTag: v2.2.0-eks-1-18-13 - name: 602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/csi-snapshotter newName: public.ecr.aws/eks-distro/kubernetes-csi/external-snapshotter/csi-snapshotter - newTag: v3.0.3-eks-1-18-13 + newTag: v5.0.1-eks-1-22-7 - name: 602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/csi-resizer newName: public.ecr.aws/eks-distro/kubernetes-csi/external-resizer newTag: v1.1.0-eks-1-18-13 diff --git a/deploy/kubernetes/overlays/stable/gcr/kustomization.yaml b/deploy/kubernetes/overlays/stable/gcr/kustomization.yaml index ef672a5515..e00059db54 100644 --- a/deploy/kubernetes/overlays/stable/gcr/kustomization.yaml +++ b/deploy/kubernetes/overlays/stable/gcr/kustomization.yaml @@ -12,7 +12,7 @@ images: - name: k8s.gcr.io/sig-storage/livenessprobe newTag: v2.4.0 - name: k8s.gcr.io/sig-storage/csi-snapshotter - newTag: v3.0.3 + newTag: v6.0.1 - name: k8s.gcr.io/sig-storage/csi-resizer newTag: v1.1.0 - name: k8s.gcr.io/sig-storage/csi-node-driver-registrar