zelda/backend/config/rbac/zbuildtemplate_viewer_role....

28 lines
610 B
YAML

# permissions for end users to view zbuildtemplates.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: clusterrole
app.kubernetes.io/instance: zbuildtemplate-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: zbuildtemplate-viewer-role
rules:
- apiGroups:
- zelda.io
resources:
- zbuildtemplates
verbs:
- get
- list
- watch
- apiGroups:
- zelda.io
resources:
- zbuildtemplates/status
verbs:
- get