Skip to content

Commit 9f03a96

Browse files
authored
add an appwrapper-user cluster role (#118)
1 parent 7306b32 commit 9f03a96

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

config/rbac/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ resources:
99
- role_binding.yaml
1010
- leader_election_role.yaml
1111
- leader_election_role_binding.yaml
12+
- user_role.yaml
1213
# Comment the following 4 lines if you want to disable
1314
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
1415
# which protects your /metrics endpoint.

config/rbac/user_role.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# permissions for end users of appwrappers.
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: ClusterRole
4+
metadata:
5+
name: user-role
6+
rules:
7+
- apiGroups:
8+
- workload.codeflare.dev
9+
resources:
10+
- appwrappers
11+
verbs:
12+
- create
13+
- delete
14+
- get
15+
- list
16+
- watch
17+
- apiGroups:
18+
- workload.codeflare.dev
19+
resources:
20+
- appwrappers/status
21+
verbs:
22+
- get
23+
- apiGroups:
24+
- workload.codeflare.dev
25+
resources:
26+
- appwrappers/finalizer
27+
verbs:
28+
- update

0 commit comments

Comments
 (0)