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/ClusterRole.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

13 lines
335 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
# "namespace" omitted since ClusterRoles are not namespaced
name: secret-reader
rules:
- apiGroups: [""]
#
# at the HTTP level, the name of the resource for accessing Secret
# objects is "secrets"
resources: ["secrets"]
verbs: ["get", "watch", "list"]