From e2c9c367fa0c7a9bd08cd3a54c0e2698e4f8c9cf Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Thu, 23 May 2019 12:44:43 -0500 Subject: [PATCH] Fluentd: Update ClusterRole object This updates the ClusterRole object for fluentd by removing a duplicate rules: key and also adds 'get' to the list of verbs for the "" apiGroups (as it's required for the kubernetes metadata plugin) Change-Id: Ia901d9fe9a0784038f0f882297c64afcce58ca7e --- fluent-logging/templates/deployment-fluentd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluent-logging/templates/deployment-fluentd.yaml b/fluent-logging/templates/deployment-fluentd.yaml index 6a8b3c372..15fc9241b 100644 --- a/fluent-logging/templates/deployment-fluentd.yaml +++ b/fluent-logging/templates/deployment-fluentd.yaml @@ -40,7 +40,6 @@ kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ $serviceAccountName }} -rules: rules: - apiGroups: - "" @@ -52,6 +51,7 @@ rules: - replicationcontrollers - limitranges verbs: + - get - list - watch - apiGroups: