47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
---
|
|
# Source: elastic-operator/charts/eck-operator/templates/cluster-roles.yaml
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: "elastic-operator-view"
|
|
labels:
|
|
rbac.authorization.k8s.io/aggregate-to-view: "true"
|
|
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
|
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
|
app.kubernetes.io/name: elastic-operator
|
|
app.kubernetes.io/instance: elastic-operator
|
|
app.kubernetes.io/version: "3.2.0"
|
|
helm.sh/chart: eck-operator-3.2.0
|
|
app.kubernetes.io/managed-by: Helm
|
|
rules:
|
|
- apiGroups: ["elasticsearch.k8s.elastic.co"]
|
|
resources: ["elasticsearches"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["autoscaling.k8s.elastic.co"]
|
|
resources: ["elasticsearchautoscalers"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["apm.k8s.elastic.co"]
|
|
resources: ["apmservers"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["kibana.k8s.elastic.co"]
|
|
resources: ["kibanas"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["enterprisesearch.k8s.elastic.co"]
|
|
resources: ["enterprisesearches"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["beat.k8s.elastic.co"]
|
|
resources: ["beats"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["agent.k8s.elastic.co"]
|
|
resources: ["agents"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["maps.k8s.elastic.co"]
|
|
resources: ["elasticmapsservers"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["stackconfigpolicy.k8s.elastic.co"]
|
|
resources: ["stackconfigpolicies"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: ["logstash.k8s.elastic.co"]
|
|
resources: ["logstashes"]
|
|
verbs: ["get", "list", "watch"]
|