@@ -45,19 +45,13 @@ metadata:
4545rules :
4646 - apiGroups : [""]
4747 resources : ["persistentvolumes"]
48- verbs : ["get", "list", "watch", "create", "delete"]
48+ verbs : ["get", "list", "watch", "create", "patch", " delete"]
4949 - apiGroups : [""]
5050 resources : ["persistentvolumeclaims"]
5151 verbs : ["get", "list", "watch", "update"]
5252 - apiGroups : ["storage.k8s.io"]
5353 resources : ["storageclasses"]
5454 verbs : ["get", "list", "watch"]
55- - apiGroups : [""]
56- resources : ["nodes"]
57- verbs : ["get", "list", "watch"]
58- - apiGroups : ["storage.k8s.io"]
59- resources : ["csinodes"]
60- verbs : ["get", "list", "watch"]
6155 - apiGroups : [""]
6256 resources : ["events"]
6357 verbs : ["list", "watch", "create", "update", "patch"]
@@ -67,6 +61,15 @@ rules:
6761 - apiGroups : ["snapshot.storage.k8s.io"]
6862 resources : ["volumesnapshotcontents"]
6963 verbs : ["get", "list"]
64+ - apiGroups : ["storage.k8s.io"]
65+ resources : ["csinodes"]
66+ verbs : ["get", "list", "watch"]
67+ - apiGroups : [""]
68+ resources : ["nodes"]
69+ verbs : ["get", "list", "watch"]
70+ - apiGroups : ["storage.k8s.io"]
71+ resources : ["volumeattachments"]
72+ verbs : ["get", "list", "watch"]
7073 {{- if $enableLeaderElection}}
7174 # leader election
7275 - apiGroups : [coordination.k8s.io]
0 commit comments