From f9cb3113990a3081bddd714ac87f026c053e04e7 Mon Sep 17 00:00:00 2001 From: Chris Mark Date: Tue, 11 Aug 2020 18:19:45 +0300 Subject: [PATCH] Cherry-pick #20546 to 7.9: Add service resource in k8s cluster role (#20553) * Add service resource in k8s cluster role (#20546) (cherry picked from commit e9b5b16fea39c75cdb26fa46e079227a2e581ded) * Update CHANGELOG.next.asciidoc --- CHANGELOG.next.asciidoc | 1 + deploy/kubernetes/metricbeat-kubernetes.yaml | 1 + deploy/kubernetes/metricbeat/metricbeat-role.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 3dd010a0174e..d30bf17d4602 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -94,6 +94,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Fix seccomp policy for calls to `chmod` and `chown`. {pull}20054[20054] - Output errors when Kibana index pattern setup fails. {pull}20121[20121] - Fix issue in autodiscover that kept inputs stopped after config updates. {pull}20305[20305] +- Add service resource in k8s cluster role. {pull}20546[20546] *Auditbeat* diff --git a/deploy/kubernetes/metricbeat-kubernetes.yaml b/deploy/kubernetes/metricbeat-kubernetes.yaml index 4896c9c98f31..84ab9ef79274 100644 --- a/deploy/kubernetes/metricbeat-kubernetes.yaml +++ b/deploy/kubernetes/metricbeat-kubernetes.yaml @@ -345,6 +345,7 @@ rules: - events - pods - secrets + - services verbs: ["get", "list", "watch"] - apiGroups: ["extensions"] resources: diff --git a/deploy/kubernetes/metricbeat/metricbeat-role.yaml b/deploy/kubernetes/metricbeat/metricbeat-role.yaml index 79987a8f6799..90b0fb960bb2 100644 --- a/deploy/kubernetes/metricbeat/metricbeat-role.yaml +++ b/deploy/kubernetes/metricbeat/metricbeat-role.yaml @@ -12,6 +12,7 @@ rules: - events - pods - secrets + - services verbs: ["get", "list", "watch"] - apiGroups: ["extensions"] resources: