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 verbs:
12 - get
13 - list
14 - watch
15 - delete
16- apiGroups:
17 - apps
18 resources:
19 - deployments
20 - daemonsets
21 - statefulsets
22 - replicasets
23 - controllerrevisions
24 verbs:
25 - get
26 - list
27 - watch
28 - delete
29- apiGroups:
30 - batch
31 resources:
32 - jobs
33 verbs:
34 - get
35 - list
36 - watch
37 - delete