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