libre.sh/config/rbac/portability_migration_editor_role.yaml
2024-02-18 15:48:09 +01:00

31 lines
658 B
YAML

# permissions for end users to edit migrations.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: clusterrole
app.kubernetes.io/instance: migration-editor-role
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: libre-sh
app.kubernetes.io/part-of: libre-sh
app.kubernetes.io/managed-by: kustomize
name: migration-editor-role
rules:
- apiGroups:
- portability.libre.sh
resources:
- migrations
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- portability.libre.sh
resources:
- migrations/status
verbs:
- get