zelda/backend/config/rbac/zruntemplate_editor_role.yaml

32 lines
643 B
YAML

# permissions for end users to edit zruntemplates.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: clusterrole
app.kubernetes.io/instance: zruntemplate-editor-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-editor-role
rules:
- apiGroups:
- zelda.io
resources:
- zruntemplates
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- zelda.io
resources:
- zruntemplates/status
verbs:
- get