[kube1.23] fix csi snapshotter

This commit is contained in:
CALIN Cristian Andrei
2022-04-19 16:31:37 +03:00
parent 1884d64aff
commit 6708d8e0fc

View File

@@ -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"]
@@ -96,7 +96,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: k8s.gcr.io/sig-storage/csi-snapshotter:v5.0.0
image: k8s.gcr.io/sig-storage/csi-snapshotter:v5.0.1
args:
- --v=5
- --csi-address=$(ADDRESS)