32 lines
613 B
YAML
32 lines
613 B
YAML
|
# permissions for end users to edit zgroups.
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: clusterrole
|
||
|
app.kubernetes.io/instance: zgroup-editor-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: zgroup-editor-role
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- zelda.io
|
||
|
resources:
|
||
|
- zgroups
|
||
|
verbs:
|
||
|
- create
|
||
|
- delete
|
||
|
- get
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- zelda.io
|
||
|
resources:
|
||
|
- zgroups/status
|
||
|
verbs:
|
||
|
- get
|