Skip to content

Commit 2bea4aa

Browse files
committed
fix: grant operator to create roles
1 parent f769903 commit 2bea4aa

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

charts/cdl-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: application
1616
# This is the chart version. This version number should be incremented each time you make changes
1717
# to the chart and its templates, including the app version.
1818
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19-
version: 0.1.1
19+
version: 0.1.2
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to

charts/cdl-operator/templates/serviceaccount.yaml.j2

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ rules:
5555
- list
5656
- patch
5757
- watch
58+
- apiGroups:
59+
- batch
60+
resources:
61+
- jobs
62+
verbs:
63+
- create
64+
- get
65+
- list
66+
- patch
67+
- watch
5868
- apiGroups:
5969
- cdl.ulagbulag.io
6070
resources:
@@ -214,6 +224,16 @@ rules:
214224
- get
215225
- list
216226
- watch
227+
- apiGroups:
228+
- batch
229+
resources:
230+
- jobs
231+
verbs:
232+
- create
233+
- get
234+
- list
235+
- patch
236+
- watch
217237
- apiGroups:
218238
- cdl.ulagbulag.io
219239
resources:
@@ -245,12 +265,6 @@ rules:
245265
- get
246266
- apiGroups:
247267
- apiextensions.k8s.io
248-
resourceNames:
249-
- modelclaims.cdl.ulagbulag.io
250-
- models.cdl.ulagbulag.io
251-
- modelstoragebindings.cdl.ulagbulag.io
252-
- modelstorages.cdl.ulagbulag.io
253-
- modelusers.cdl.ulagbulag.io
254268
resources:
255269
- customresourcedefinitions
256270
verbs:

0 commit comments

Comments
 (0)