Skip to content

Commit 82cc727

Browse files
Implementing cronJob permission changes (#5481)
* Implementing cronJob permission changes Implements ASC-771 Changing kubesaw tiers and konflux RBAC to reflect new requiremens for cronJob management in tenant namespaces. This consitent with changes in architecture ADR: konflux-ci/architecture#222 Signed-off-by: David Peraza <[email protected]> * Remove double quotes from api group Signed-off-by: David Peraza <[email protected]> --------- Signed-off-by: David Peraza <[email protected]>
1 parent b46689f commit 82cc727

File tree

39 files changed

+4122
-18
lines changed

39 files changed

+4122
-18
lines changed

components/konflux-rbac/production/base/konflux-admin-user-actions.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,16 @@ rules:
142142
- project.openshift.io
143143
resources:
144144
- projects
145+
- verbs:
146+
- get
147+
- list
148+
- watch
149+
- create
150+
- update
151+
- patch
152+
- delete
153+
apiGroups:
154+
- batch
155+
resources:
156+
- cronjobs
157+
- jobs

components/konflux-rbac/production/base/konflux-contributor-user-actions.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,12 @@ rules:
114114
- project.openshift.io
115115
resources:
116116
- projects
117+
- verbs:
118+
- get
119+
- list
120+
- watch
121+
apiGroups:
122+
- batch
123+
resources:
124+
- cronjobs
125+
- jobs

components/konflux-rbac/production/base/konflux-maintainer-user-actions.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,15 @@ rules:
128128
- project.openshift.io
129129
resources:
130130
- projects
131+
- verbs:
132+
- get
133+
- list
134+
- watch
135+
- create
136+
- update
137+
- patch
138+
apiGroups:
139+
- batch
140+
resources:
141+
- cronjobs
142+
- jobs

components/konflux-rbac/staging/base/konflux-admin-user-actions.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,16 @@ rules:
141141
- project.openshift.io
142142
resources:
143143
- projects
144+
- verbs:
145+
- get
146+
- list
147+
- watch
148+
- create
149+
- update
150+
- patch
151+
- delete
152+
apiGroups:
153+
- batch
154+
resources:
155+
- cronjobs
156+
- jobs

components/konflux-rbac/staging/base/konflux-contributor-user-actions.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,12 @@ rules:
113113
- project.openshift.io
114114
resources:
115115
- projects
116+
- verbs:
117+
- get
118+
- list
119+
- watch
120+
apiGroups:
121+
- batch
122+
resources:
123+
- cronjobs
124+
- jobs

components/konflux-rbac/staging/base/konflux-maintainer-user-actions.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,15 @@ rules:
127127
- project.openshift.io
128128
resources:
129129
- projects
130+
- verbs:
131+
- get
132+
- list
133+
- watch
134+
- create
135+
- update
136+
- patch
137+
apiGroups:
138+
- batch
139+
resources:
140+
- cronjobs
141+
- jobs

components/sandbox/tiers/production/appstudio/kustomization.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ resources:
88
- nstemplatetier-appstudio.yaml
99
- tiertemplate-appstudio-admin-1611646139-1611646139.yaml
1010
- tiertemplate-appstudio-admin-1876853981-1876853981.yaml
11+
- tiertemplate-appstudio-admin-2267910203-2267910203.yaml
1112
- tiertemplate-appstudio-admin-2415879015-2415879015.yaml
1213
- tiertemplate-appstudio-admin-849337768-849337768.yaml
1314
- tiertemplate-appstudio-clusterresources-3180033938-3180033938.yaml
1415
- tiertemplate-appstudio-clusterresources-593233715-593233715.yaml
1516
- tiertemplate-appstudio-clusterresources-809836689-809836689.yaml
1617
- tiertemplate-appstudio-contributor-1817914940-1817914940.yaml
18+
- tiertemplate-appstudio-contributor-2153673317-2153673317.yaml
1719
- tiertemplate-appstudio-contributor-3265408548-3265408548.yaml
1820
- tiertemplate-appstudio-contributor-829105171-829105171.yaml
21+
- tiertemplate-appstudio-maintainer-1446367252-1446367252.yaml
1922
- tiertemplate-appstudio-maintainer-1881194462-1881194462.yaml
2023
- tiertemplate-appstudio-maintainer-1904354742-1904354742.yaml
2124
- tiertemplate-appstudio-maintainer-293087644-293087644.yaml

components/sandbox/tiers/production/appstudio/nstemplatetier-appstudio.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ spec:
1414
- templateRef: appstudio-tenant-3035149355-3035149355
1515
spaceRoles:
1616
admin:
17-
templateRef: appstudio-admin-1611646139-1611646139
17+
templateRef: appstudio-admin-2267910203-2267910203
1818
contributor:
19-
templateRef: appstudio-contributor-3265408548-3265408548
19+
templateRef: appstudio-contributor-2153673317-2153673317
2020
maintainer:
21-
templateRef: appstudio-maintainer-1881194462-1881194462
21+
templateRef: appstudio-maintainer-1446367252-1446367252
2222
viewer:
2323
templateRef: appstudio-viewer-3768244154-3768244154
2424
status: {}

0 commit comments

Comments
 (0)