libre.sh/config/rbac/apps_discourse_editor_role.yaml

31 lines
644 B
YAML

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