zelda/backend/config/rbac/zregistry_editor_role.yaml

32 lines
631 B
YAML
Raw Permalink Normal View History

2024-11-19 16:57:27 +08:00
# permissions for end users to edit zregistries.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: clusterrole
app.kubernetes.io/instance: zregistry-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: zregistry-editor-role
rules:
- apiGroups:
- zelda.io
resources:
- zregistries
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- zelda.io
resources:
- zregistries/status
verbs:
- get