blob: 480de28a2f4f2abf538f0c268fcd3666fa38f992 [file] [log] [blame]
Richard Jankowskid074dc72017-12-21 11:00:35 -05001apiVersion: rbac.authorization.k8s.io/v1beta1
2kind: ClusterRole
3metadata:
4 name: etcd-operator
5rules:
6- apiGroups:
7 - etcd.database.coreos.com
8 resources:
9 - etcdclusters
10 verbs:
11 - "*"
12- apiGroups:
13 - apiextensions.k8s.io
14 resources:
15 - customresourcedefinitions
16 verbs:
17 - "*"
18- apiGroups:
19 - storage.k8s.io
20 resources:
21 - storageclasses
22 verbs:
23 - "*"
24- apiGroups:
25 - ""
26 resources:
27 - pods
28 - services
29 - endpoints
30 - persistentvolumeclaims
31 - events
32 verbs:
33 - "*"
34- apiGroups:
35 - apps
36 resources:
37 - deployments
38 verbs:
39 - "*"
40