1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/templates/create-resource/access-control/ClusterRoleBinding.yaml
Pavel Ashevskiy f74d365ee4 YAML Templates in Create Resource dock tab
Signed-off-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru>
2021-04-13 14:31:48 +04:00

14 lines
395 B
YAML

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