From 82df02fdb4bf228effa57ca8b433d2c45692b95d Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Wed, 11 Sep 2019 07:44:47 -0500 Subject: [PATCH] Remove duplicate 'rules:' key from ClusterRoles This removes a duplicate rules: key that was erroneously added to the elastic-filebeat/metricbeat and fluentbit daemonsets Change-Id: Ic2a6347ae69ccbd2b9075d9ee0180ad41932a9bf Signed-off-by: Steve Wilkerson --- elastic-filebeat/templates/daemonset.yaml | 1 - elastic-metricbeat/templates/daemonset-node-metrics.yaml | 1 - fluentbit/templates/daemonset-fluent-bit.yaml | 1 - 3 files changed, 3 deletions(-) diff --git a/elastic-filebeat/templates/daemonset.yaml b/elastic-filebeat/templates/daemonset.yaml index 288d36e80..4239d0117 100644 --- a/elastic-filebeat/templates/daemonset.yaml +++ b/elastic-filebeat/templates/daemonset.yaml @@ -40,7 +40,6 @@ kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ $serviceAccountName }} -rules: rules: - apiGroups: - "" diff --git a/elastic-metricbeat/templates/daemonset-node-metrics.yaml b/elastic-metricbeat/templates/daemonset-node-metrics.yaml index 36c0519f2..82231d406 100644 --- a/elastic-metricbeat/templates/daemonset-node-metrics.yaml +++ b/elastic-metricbeat/templates/daemonset-node-metrics.yaml @@ -40,7 +40,6 @@ kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ $serviceAccountName }} -rules: rules: - apiGroups: - "" diff --git a/fluentbit/templates/daemonset-fluent-bit.yaml b/fluentbit/templates/daemonset-fluent-bit.yaml index 6259625a0..379fc1e31 100644 --- a/fluentbit/templates/daemonset-fluent-bit.yaml +++ b/fluentbit/templates/daemonset-fluent-bit.yaml @@ -39,7 +39,6 @@ kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ $serviceAccountName }} -rules: rules: - apiGroups: - ""