blob: bb11dcc4d590457d192a32273059ec9841aaf591 [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
Richard Jankowskid074dc72017-12-21 11:00:35 -050014apiVersion: rbac.authorization.k8s.io/v1beta1
15kind: ClusterRole
16metadata:
17 name: etcd-operator
18rules:
19- apiGroups:
20 - etcd.database.coreos.com
21 resources:
22 - etcdclusters
23 verbs:
24 - "*"
25- apiGroups:
26 - apiextensions.k8s.io
27 resources:
28 - customresourcedefinitions
29 verbs:
30 - "*"
31- apiGroups:
32 - storage.k8s.io
33 resources:
34 - storageclasses
35 verbs:
36 - "*"
37- apiGroups:
38 - ""
39 resources:
40 - pods
41 - services
42 - endpoints
43 - persistentvolumeclaims
44 - events
45 verbs:
46 - "*"
47- apiGroups:
48 - apps
49 resources:
50 - deployments
51 verbs:
52 - "*"
53