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