zelda/backend/config/rbac/zservice_viewer_role.yaml

28 lines
580 B
YAML

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