Skip to content

Commit b7b56d9

Browse files
committed
feat: extend nuvolaris-swku-role for adminapi
extend nuvolaris-swku-role for adminapi, adding permissions on configmaps and jobs
1 parent 7b36270 commit b7b56d9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

deploy/nuvolaris-permissions/nuvolaris-wsku-roles.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ rules:
2929
- apiGroups: ["nuvolaris.org"]
3030
resources: ["whisksusers","whisksusers/status","*/finalizers"]
3131
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
32+
# assign the possibility to operate on configmaps (admin api)
33+
- apiGroups: ""
34+
resources: ["configmaps"]
35+
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
36+
# assign the possibility to operate on jobs (admin api)
37+
- apiGroups: ["batch"]
38+
resources: ["jobs"]
39+
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
3240

3341
---
3442
kind: RoleBinding

0 commit comments

Comments
 (0)