zelda/backend/config/rbac/zruntemplate_viewer_role.yaml

28 lines
600 B
YAML
Raw Normal View History

2024-11-19 16:57:27 +08:00
# permissions for end users to view zruntemplates.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: clusterrole
app.kubernetes.io/instance: zruntemplate-viewer-role
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: zelda
app.kubernetes.io/part-of: zelda
app.kubernetes.io/managed-by: kustomize
name: zruntemplate-viewer-role
rules:
- apiGroups:
- zelda.io
resources:
- zruntemplates
verbs:
- get
- list
- watch
- apiGroups:
- zelda.io
resources:
- zruntemplates/status
verbs:
- get