33
33
verbs : ["get", "list", "watch"]
34
34
- apiGroups : [""]
35
35
resources : ["persistentvolumes"]
36
- verbs : ["get", "list", "watch", "create", "delete", "patch"]
36
+ verbs : ["get", "list", "watch", "create", "update", " delete", "patch"]
37
37
- apiGroups : [""]
38
38
resources : ["persistentvolumeclaims"]
39
39
verbs : ["get", "list", "watch", "patch", "update"]
@@ -54,16 +54,25 @@ rules:
54
54
verbs : ["patch"]
55
55
- apiGroups : ["snapshot.storage.k8s.io"]
56
56
resources : ["volumesnapshots"]
57
- verbs : ["get", "list"]
57
+ verbs : ["get", "list", "watch", "update", "patch", "create" ]
58
58
- apiGroups : ["snapshot.storage.k8s.io"]
59
59
resources : ["volumesnapshotclasses"]
60
60
verbs : ["get", "list", "watch"]
61
61
- apiGroups : ["snapshot.storage.k8s.io"]
62
62
resources : ["volumesnapshotcontents"]
63
- verbs : ["get", "list", "watch", "patch", "update"]
63
+ verbs : ["get", "list", "watch", "patch", "update", "create" ]
64
64
- apiGroups : ["snapshot.storage.k8s.io"]
65
65
resources : ["volumesnapshotcontents/status"]
66
66
verbs : ["update", "patch"]
67
+ - apiGroups : ["groupsnapshot.storage.k8s.io"]
68
+ resources : ["volumegroupsnapshotclasses"]
69
+ verbs : ["get", "list", "watch"]
70
+ - apiGroups : ["groupsnapshot.storage.k8s.io"]
71
+ resources : ["volumegroupsnapshotcontents"]
72
+ verbs : ["get", "list", "watch", "update", "patch"]
73
+ - apiGroups : ["groupsnapshot.storage.k8s.io"]
74
+ resources : ["volumegroupsnapshotcontents/status"]
75
+ verbs : ["update", "patch"]
67
76
---
68
77
kind : ClusterRole
69
78
apiVersion : rbac.authorization.k8s.io/v1
@@ -125,7 +134,7 @@ rules:
125
134
verbs : ["get", "list", "watch"]
126
135
- apiGroups : [""]
127
136
resources : ["persistentvolumes"]
128
- verbs : ["get", "list", "watch", "create", "delete", "patch"]
137
+ verbs : ["get", "list", "watch", "create", "update", " delete", "patch"]
129
138
- apiGroups : [""]
130
139
resources : ["persistentvolumeclaims"]
131
140
verbs : ["get", "list", "watch", "update"]
@@ -152,16 +161,25 @@ rules:
152
161
verbs : ["patch"]
153
162
- apiGroups : ["snapshot.storage.k8s.io"]
154
163
resources : ["volumesnapshots"]
155
- verbs : ["get", "list", "watch"]
164
+ verbs : ["get", "list", "watch", "update", "patch", "create" ]
156
165
- apiGroups : ["snapshot.storage.k8s.io"]
157
166
resources : ["volumesnapshotclasses"]
158
167
verbs : ["get", "list", "watch"]
159
168
- apiGroups : ["snapshot.storage.k8s.io"]
160
169
resources : ["volumesnapshotcontents"]
161
- verbs : ["get", "list", "watch", "patch", "update"]
170
+ verbs : ["get", "list", "watch", "patch", "update", "create" ]
162
171
- apiGroups : ["snapshot.storage.k8s.io"]
163
172
resources : ["volumesnapshotcontents/status"]
164
173
verbs : ["update", "patch"]
174
+ - apiGroups : ["groupsnapshot.storage.k8s.io"]
175
+ resources : ["volumegroupsnapshotclasses"]
176
+ verbs : ["get", "list", "watch"]
177
+ - apiGroups : ["groupsnapshot.storage.k8s.io"]
178
+ resources : ["volumegroupsnapshotcontents"]
179
+ verbs : ["get", "list", "watch", "update", "patch"]
180
+ - apiGroups : ["groupsnapshot.storage.k8s.io"]
181
+ resources : ["volumegroupsnapshotcontents/status"]
182
+ verbs : ["update", "patch"]
165
183
- apiGroups : [""]
166
184
resources : ["configmaps"]
167
185
verbs : ["get"]
@@ -563,7 +581,7 @@ rules:
563
581
verbs : ["create"]
564
582
- apiGroups : ["csiaddons.openshift.io"]
565
583
resources : ["networkfences"]
566
- verbs : ["create", "get", "update", "delete", "watch", "list"]
584
+ verbs : ["create", "get", "update", "delete", "watch", "list", "deletecollection" ]
567
585
- apiGroups : ["apiextensions.k8s.io"]
568
586
resources : ["customresourcedefinitions"]
569
587
verbs : ["get"]
@@ -1154,6 +1172,18 @@ metadata:
1154
1172
# imagePullSecrets:
1155
1173
# - name: my-registry-secret
1156
1174
---
1175
+ # Service account for other components
1176
+ apiVersion : v1
1177
+ kind : ServiceAccount
1178
+ metadata :
1179
+ name : rook-ceph-default
1180
+ namespace : rook-ceph # namespace:cluster
1181
+ labels :
1182
+ operator : rook
1183
+ storage-backend : ceph
1184
+ # imagePullSecrets:
1185
+ # - name: my-registry-secret
1186
+ ---
1157
1187
# Service account for Ceph mgrs
1158
1188
apiVersion : v1
1159
1189
kind : ServiceAccount
0 commit comments