mirror of
https://forge.liiib.re/indiehost/libre.sh/libre.sh.git
synced 2024-12-31 23:53:08 +00:00
28 lines
608 B
YAML
28 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
|