libre.sh/config/rbac/matrix_mediarepo_viewer_role.yaml

27 lines
608 B
YAML

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