Richard Jankowski | d074dc7 | 2017-12-21 11:00:35 -0500 | [diff] [blame] | 1 | apiVersion: rbac.authorization.k8s.io/v1beta1 |
2 | kind: ClusterRole | ||||
3 | metadata: | ||||
4 | name: etcd-operator | ||||
5 | rules: | ||||
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 |