@@ -4,27 +4,33 @@ kind: ClusterRole
4
4
metadata :
5
5
name : external-snapshotter-role
6
6
rules :
7
- - apiGroups : ["snapshot.storage.k8s.io"]
8
- resources : ["volumesnapshotclasses"]
9
- verbs : ["get", "list", "watch"]
10
- - apiGroups : ["snapshot.storage.k8s.io"]
11
- resources : ["volumesnapshotcontents"]
12
- verbs : ["create", "get", "list", "watch", "update", "delete"]
13
- - apiGroups : ["snapshot.storage.k8s.io"]
14
- resources : ["volumesnapshots"]
15
- verbs : ["get", "list", "watch", "update"]
16
- - apiGroups : ["apiextensions.k8s.io"]
17
- resources : ["customresourcedefinitions"]
18
- verbs : ["create", "list", "watch", "delete"]
19
- - apiGroups : [""]
20
- resources : ["events"]
21
- verbs : ["list", "watch", "create", "update", "patch"]
22
- - apiGroups : ["storage.k8s.io"]
23
- resources : ["storageclasses"]
24
- verbs : ["watch", "get", "list"]
25
- - apiGroups : ["admissionregistration.k8s.io"]
26
- resources : ["mutatingwebhookconfigurations"]
27
- verbs : ["create"]
7
+ - apiGroups : [""]
8
+ resources : ["persistentvolumes"]
9
+ verbs : ["get", "list", "watch"]
10
+ - apiGroups : [""]
11
+ resources : ["persistentvolumeclaims"]
12
+ verbs : ["get", "list", "watch", "update"]
13
+ - apiGroups : ["storage.k8s.io"]
14
+ resources : ["storageclasses"]
15
+ verbs : ["get", "list", "watch"]
16
+ - apiGroups : [""]
17
+ resources : ["events"]
18
+ verbs : ["list", "watch", "create", "update", "patch"]
19
+ - apiGroups : [""]
20
+ resources : ["secrets"]
21
+ verbs : ["get", "list"]
22
+ - apiGroups : ["snapshot.storage.k8s.io"]
23
+ resources : ["volumesnapshotclasses"]
24
+ verbs : ["get", "list", "watch"]
25
+ - apiGroups : ["snapshot.storage.k8s.io"]
26
+ resources : ["volumesnapshotcontents"]
27
+ verbs : ["create", "get", "list", "watch", "update", "delete"]
28
+ - apiGroups : ["snapshot.storage.k8s.io"]
29
+ resources : ["volumesnapshots"]
30
+ verbs : ["get", "list", "watch", "update"]
31
+ - apiGroups : ["apiextensions.k8s.io"]
32
+ resources : ["customresourcedefinitions"]
33
+ verbs : ["create", "list", "watch", "delete"]
28
34
29
35
---
30
36
0 commit comments