File tree Expand file tree Collapse file tree 3 files changed +284
-538
lines changed
helm-chart/kuberay-operator/templates Expand file tree Collapse file tree 3 files changed +284
-538
lines changed Original file line number Diff line number Diff line change @@ -69,3 +69,285 @@ FeatureGates
69
69
--feature-gates={ { $features | trimSuffix " ," } }
70
70
{ {- end } }
71
71
{ {- end } }
72
+
73
+
74
+ { {/*
75
+ Create a template to ensure consistency for Role and ClusterRole.
76
+ */} }
77
+ { {- define " role.consistentRules" -} }
78
+ rules:
79
+ - apiGroups:
80
+ - batch
81
+ resources:
82
+ - jobs
83
+ verbs:
84
+ - create
85
+ - delete
86
+ - get
87
+ - list
88
+ - patch
89
+ - update
90
+ - watch
91
+ - apiGroups:
92
+ - coordination.k8s.io
93
+ resources:
94
+ - leases
95
+ verbs:
96
+ - create
97
+ - get
98
+ - list
99
+ - update
100
+ - apiGroups:
101
+ - ""
102
+ resources:
103
+ - endpoints
104
+ verbs:
105
+ - get
106
+ - list
107
+ - watch
108
+ - apiGroups:
109
+ - ""
110
+ resources:
111
+ - events
112
+ verbs:
113
+ - create
114
+ - delete
115
+ - get
116
+ - list
117
+ - patch
118
+ - update
119
+ - watch
120
+ - apiGroups:
121
+ - ""
122
+ resources:
123
+ - pods
124
+ verbs:
125
+ - create
126
+ - delete
127
+ - deletecollection
128
+ - get
129
+ - list
130
+ - patch
131
+ - update
132
+ - watch
133
+ - apiGroups:
134
+ - ""
135
+ resources:
136
+ - pods/proxy
137
+ verbs:
138
+ - get
139
+ - patch
140
+ - update
141
+ - apiGroups:
142
+ - ""
143
+ resources:
144
+ - pods/status
145
+ verbs:
146
+ - create
147
+ - delete
148
+ - get
149
+ - list
150
+ - patch
151
+ - update
152
+ - watch
153
+ - apiGroups:
154
+ - ""
155
+ resources:
156
+ - serviceaccounts
157
+ verbs:
158
+ - create
159
+ - delete
160
+ - get
161
+ - list
162
+ - watch
163
+ - apiGroups:
164
+ - ""
165
+ resources:
166
+ - services
167
+ verbs:
168
+ - create
169
+ - delete
170
+ - get
171
+ - list
172
+ - patch
173
+ - update
174
+ - watch
175
+ - apiGroups:
176
+ - ""
177
+ resources:
178
+ - services/proxy
179
+ verbs:
180
+ - get
181
+ - patch
182
+ - update
183
+ - apiGroups:
184
+ - ""
185
+ resources:
186
+ - services/status
187
+ verbs:
188
+ - get
189
+ - patch
190
+ - update
191
+ - apiGroups:
192
+ - extensions
193
+ resources:
194
+ - ingresses
195
+ verbs:
196
+ - create
197
+ - delete
198
+ - get
199
+ - list
200
+ - patch
201
+ - update
202
+ - watch
203
+ - apiGroups:
204
+ - networking.k8s.io
205
+ resources:
206
+ - ingressclasses
207
+ verbs:
208
+ - get
209
+ - list
210
+ - watch
211
+ - apiGroups:
212
+ - networking.k8s.io
213
+ resources:
214
+ - ingresses
215
+ verbs:
216
+ - create
217
+ - delete
218
+ - get
219
+ - list
220
+ - patch
221
+ - update
222
+ - watch
223
+ - apiGroups:
224
+ - ray.io
225
+ resources:
226
+ - rayclusters
227
+ verbs:
228
+ - create
229
+ - delete
230
+ - get
231
+ - list
232
+ - patch
233
+ - update
234
+ - watch
235
+ - apiGroups:
236
+ - ray.io
237
+ resources:
238
+ - rayclusters/finalizers
239
+ verbs:
240
+ - update
241
+ - apiGroups:
242
+ - ray.io
243
+ resources:
244
+ - rayclusters/status
245
+ verbs:
246
+ - get
247
+ - patch
248
+ - update
249
+ - apiGroups:
250
+ - ray.io
251
+ resources:
252
+ - rayjobs
253
+ verbs:
254
+ - create
255
+ - delete
256
+ - get
257
+ - list
258
+ - patch
259
+ - update
260
+ - watch
261
+ - apiGroups:
262
+ - ray.io
263
+ resources:
264
+ - rayjobs/finalizers
265
+ verbs:
266
+ - update
267
+ - apiGroups:
268
+ - ray.io
269
+ resources:
270
+ - rayjobs/status
271
+ verbs:
272
+ - get
273
+ - patch
274
+ - update
275
+ - apiGroups:
276
+ - ray.io
277
+ resources:
278
+ - rayservices
279
+ verbs:
280
+ - create
281
+ - delete
282
+ - get
283
+ - list
284
+ - patch
285
+ - update
286
+ - watch
287
+ - apiGroups:
288
+ - ray.io
289
+ resources:
290
+ - rayservices/finalizers
291
+ verbs:
292
+ - update
293
+ - apiGroups:
294
+ - ray.io
295
+ resources:
296
+ - rayservices/status
297
+ verbs:
298
+ - get
299
+ - patch
300
+ - update
301
+ - apiGroups:
302
+ - rbac.authorization.k8s.io
303
+ resources:
304
+ - rolebindings
305
+ verbs:
306
+ - create
307
+ - delete
308
+ - get
309
+ - list
310
+ - watch
311
+ - apiGroups:
312
+ - rbac.authorization.k8s.io
313
+ resources:
314
+ - roles
315
+ verbs:
316
+ - create
317
+ - delete
318
+ - get
319
+ - list
320
+ - update
321
+ - watch
322
+ - apiGroups:
323
+ - route.openshift.io
324
+ resources:
325
+ - routes
326
+ verbs:
327
+ - create
328
+ - delete
329
+ - get
330
+ - list
331
+ - patch
332
+ - update
333
+ - watch
334
+ { {- if .batchSchedulerEnabled } }
335
+ - apiGroups:
336
+ - scheduling.volcano.sh
337
+ resources:
338
+ - podgroups
339
+ verbs:
340
+ - create
341
+ - delete
342
+ - get
343
+ - list
344
+ - update
345
+ - watch
346
+ - apiGroups:
347
+ - apiextensions.k8s.io
348
+ resources:
349
+ - customresourcedefinitions
350
+ verbs:
351
+ - get
352
+ { {- end -} }
353
+ { {- end -} }
You can’t perform that action at this time.
0 commit comments