Skip to content

Commit ddda34d

Browse files
Merge pull request #72 from HumairAK/aggreagte_dspa
Allow admin/edit roles to crud dspa.
2 parents 3c7c41f + 3397bea commit ddda34d

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

config/rbac/aggregate_dspa_role.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
labels:
5+
rbac.authorization.k8s.io/aggregate-to-admin: "true"
6+
rbac.authorization.k8s.io/aggregate-to-edit: "true"
7+
name: aggregate-dspa-admin-edit
8+
rules:
9+
- apiGroups:
10+
- datasciencepipelinesapplications.opendatahub.io
11+
resources:
12+
- datasciencepipelinesapplications
13+
verbs:
14+
- get
15+
- list
16+
- watch
17+
- create
18+
- update
19+
- patch
20+
- delete

config/rbac/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ resources:
44
- role_binding.yaml
55
- leader_election_role.yaml
66
- leader_election_role_binding.yaml
7+
- aggregate_dspa_role.yaml

0 commit comments

Comments
 (0)