@@ -54,12 +54,21 @@ rules:
54
54
- apiGroups : ["storage.k8s.io"]
55
55
resources : ["storageclasses"]
56
56
verbs : ["get", "list", "watch"]
57
+ - apiGroups : [""]
58
+ resources : ["events"]
59
+ verbs : ["list", "watch", "create", "update", "patch"]
60
+ - apiGroups : ["snapshot.storage.k8s.io"]
61
+ resources : ["volumesnapshots"]
62
+ verbs : ["get", "list"]
63
+ - apiGroups : ["snapshot.storage.k8s.io"]
64
+ resources : ["volumesnapshotcontents"]
65
+ verbs : ["get", "list"]
57
66
- apiGroups : ["storage.k8s.io"]
58
67
resources : ["csinodes"]
59
68
verbs : ["get", "list", "watch"]
60
69
- apiGroups : [""]
61
- resources : ["events "]
62
- verbs : ["list ", "watch ", "create", "update", "patch "]
70
+ resources : ["nodes "]
71
+ verbs : ["get ", "list ", "watch "]
63
72
64
73
---
65
74
@@ -85,16 +94,16 @@ metadata:
85
94
rules :
86
95
- apiGroups : [""]
87
96
resources : ["persistentvolumes"]
88
- verbs : ["get", "list", "watch", "update"]
97
+ verbs : ["get", "list", "watch", "update", "patch" ]
89
98
- apiGroups : [""]
90
99
resources : ["nodes"]
91
100
verbs : ["get", "list", "watch"]
92
- - apiGroups : ["csi. storage.k8s.io"]
93
- resources : ["csinodeinfos "]
101
+ - apiGroups : ["storage.k8s.io"]
102
+ resources : ["csinodes "]
94
103
verbs : ["get", "list", "watch"]
95
104
- apiGroups : ["storage.k8s.io"]
96
105
resources : ["volumeattachments"]
97
- verbs : ["get", "list", "watch", "update"]
106
+ verbs : ["get", "list", "watch", "update", "patch" ]
98
107
99
108
---
100
109
0 commit comments