csi: remove watch verb from csi-snapshottter sidecar RBAC

The `watch` verb is not required for the csi-snapshotter sidecar
to function, removing it from the deployment

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal committed 2022-05-16 13:21:42 +05:30
1 parent 9b6143baa7
commit 0812d08a75
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ rules:
verbs: ["patch"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshots"]
verbs: ["get", "list", "watch"]
verbs: ["get", "list"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotclasses"]
verbs: ["get", "list", "watch"]