Skip to content

Commit

Permalink
edit-rolebinding (#48)
Browse files Browse the repository at this point in the history
* edit-rolebinding

* update: rb to group for aap

* update: kustomization.yaml to activate config

* create aap-admins for ns edit role

* adding aap-admins group

---------

Co-authored-by: Cory Latschkowski <koree@redhat.com>
  • Loading branch information
cnorville90 and codekow authored Aug 8, 2023
1 parent b7edce5 commit 58a8f1f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Group
apiVersion: user.openshift.io/v1
metadata:
name: aap-admins
users:
- cnorville90
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: RoleBinding
metadata:
name: edit
namespace: aap
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: edit
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: aap-admins
2 changes: 2 additions & 0 deletions components/configs/rbac/overlays/hou-edge/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ bases:
- ../../base

resources:
- aap-admins-group.yaml
- aap-edit-ns-rolebinding.yaml
- adhoc-ops-group.yaml
- lab-cluster-admins-group.yaml
- lab-cluster-admins-rolebinding.yaml
Expand Down

0 comments on commit 58a8f1f

Please sign in to comment.