Skip to content

Commit

Permalink
Grant nerc-ops read access to all operators.coreos.com objects (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsks authored Feb 14, 2025
1 parent 49ced37 commit 8eefaba
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,15 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
nerc.mghpcc.org/aggregate-to-nerc-ops: "true"
name: nerc-ops-operators
rules:
- apiGroups:
- "operators.coreos.com"
resources:
- "*"
verbs:
- list
- get
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- clusterrole.yaml
1 change: 1 addition & 0 deletions cluster-scope/bundles/nerc-ops-rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ resources:
- ../../base/rbac.authorization.k8s.io/clusterroles/nerc-ops-monitoring
- ../../base/rbac.authorization.k8s.io/clusterroles/nerc-ops-machineconfig
- ../../base/rbac.authorization.k8s.io/clusterroles/nerc-ops-rhoai
- ../../base/rbac.authorization.k8s.io/clusterroles/nerc-ops-operators

0 comments on commit 8eefaba

Please sign in to comment.