apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRole | |
metadata: | |
name: etcd-operator | |
rules: | |
- apiGroups: | |
- etcd.database.coreos.com | |
resources: | |
- etcdclusters | |
verbs: | |
- "*" | |
- apiGroups: | |
- apiextensions.k8s.io | |
resources: | |
- customresourcedefinitions | |
verbs: | |
- "*" | |
- apiGroups: | |
- storage.k8s.io | |
resources: | |
- storageclasses | |
verbs: | |
- "*" | |
- apiGroups: | |
- "" | |
resources: | |
- pods | |
- services | |
- endpoints | |
- persistentvolumeclaims | |
- events | |
verbs: | |
- "*" | |
- apiGroups: | |
- apps | |
resources: | |
- deployments | |
verbs: | |
- "*" | |