Skip to content

Commit 17f739c

Browse files
committed
Allow snapshot controller to delete VolumeSnapshots
This patch allows the snapshot-controller-runner ClusterRole, bound to the snapshot-controller Service Account, to delete VolumeSnapshot objects. This is needed during the VolumeGroupSnapshot deletion. Signed-off-by: Leonardo Cecchi <[email protected]>
1 parent 36c3f6d commit 17f739c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rules:
3838
verbs: ["patch"]
3939
- apiGroups: ["snapshot.storage.k8s.io"]
4040
resources: ["volumesnapshots"]
41-
verbs: ["get", "list", "watch", "update", "patch"]
41+
verbs: ["get", "list", "watch", "update", "patch", "delete"]
4242
- apiGroups: ["snapshot.storage.k8s.io"]
4343
resources: ["volumesnapshots/status"]
4444
verbs: ["update", "patch"]

0 commit comments

Comments
 (0)