deploy/clusterrole.yaml (view raw)
1apiVersion: rbac.authorization.k8s.io/v1
2kind: ClusterRole
3metadata:
4 name: janny
5rules:
6- apiGroups:
7 - ""
8 resources:
9 - pods
10 - services
11 - configmaps
12 verbs:
13 - get
14 - list
15 - watch
16 - delete
17- apiGroups:
18 - apps
19 resources:
20 - deployments
21 - daemonsets
22 - statefulsets
23 - replicasets
24 - controllerrevisions
25 verbs:
26 - get
27 - list
28 - watch
29 - delete
30- apiGroups:
31 - batch
32 resources:
33 - jobs
34 verbs:
35 - get
36 - list
37 - watch
38 - delete