Skip to content

Commit

Permalink
Merge pull request #584 from dystewart/ai4dd-group
Browse files Browse the repository at this point in the history
Create ai4dd-demo group & rolebinding in nerc-ocp-prod for workshop
  • Loading branch information
tssala23 authored Oct 28, 2024
2 parents 1109eb6 + 56587d7 commit 6921f02
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
25 changes: 25 additions & 0 deletions cluster-scope/overlays/nerc-ocp-prod/groups/ai4dd-demo-group.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: user.openshift.io/v1
kind: Group
metadata:
name: ai4dd-demo
users:
- ai4dd-demo-1
- ai4dd-demo-2
- ai4dd-demo-3
- ai4dd-demo-4
- ai4dd-demo-5
- ai4dd-demo-6
- ai4dd-demo-7
- ai4dd-demo-8
- ai4dd-demo-9
- ai4dd-demo-10
- ai4dd-demo-11
- ai4dd-demo-12
- ai4dd-demo-13
- ai4dd-demo-14
- ai4dd-demo-15
- ai4dd-demo-16
- ai4dd-demo-17
- ai4dd-demo-18
- ai4dd-demo-19
- ai4dd-demo-20
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ai4dd-demo-group.yaml
1 change: 1 addition & 0 deletions cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ resources:
- object-storage
- rolebindings
- clusterrolebindings
- groups

components:
- ../../components/nerc-oauth-keycloak
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Namespace: ai4dd-06afdc
metadata:
name: ai4dd-demo-edit
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: edit
subjects:
- kind: Group
name: ai4dd-demo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ai4dd-demo-edit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ resources:
- project-robbie-6f75ac
- project-robbie-8dd79e
- project-robbie-b4784c
- ai4dd-06afdc

0 comments on commit 6921f02

Please sign in to comment.