Skip to content

Commit

Permalink
Create clusterRoleBinding.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JosanaDH authored Dec 13, 2023
1 parent 5807a47 commit e602b77
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions todolist-goof/k8s/clusterRoleBinding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
# This cluster role binding allows anyone in the "manager" group to read secrets in any namespace.
kind: ClusterRoleBinding
metadata:
name: read-secrets-global
subjects:
- kind: Group
name: manager # Name is case sensitive
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: secret-reader
apiGroup: rbac.authorization.k8s.io

0 comments on commit e602b77

Please sign in to comment.