From 665d4d63b2e7369efdf4db2f53cc01742421f217 Mon Sep 17 00:00:00 2001 From: Alex Rudyk Date: Tue, 23 Jul 2024 07:38:43 -0700 Subject: [PATCH] Give fluent-bit role access to kubelet metrics (#533) (#533) Signed-off-by: Alex Rudyk --- charts/fluent-bit/Chart.yaml | 4 ++-- charts/fluent-bit/templates/clusterrole.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/fluent-bit/Chart.yaml b/charts/fluent-bit/Chart.yaml index 41818f73..bb9250c5 100644 --- a/charts/fluent-bit/Chart.yaml +++ b/charts/fluent-bit/Chart.yaml @@ -5,7 +5,7 @@ keywords: - logging - fluent-bit - fluentd -version: 0.47.3 +version: 0.47.4 appVersion: 3.1.3 icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg home: https://fluentbit.io/ @@ -23,4 +23,4 @@ maintainers: annotations: artifacthub.io/changes: | - kind: changed - description: "Updated Fluent Bit OCI image to v3.1.3." + description: "Give fluent-bit role access to kubelet metrics." diff --git a/charts/fluent-bit/templates/clusterrole.yaml b/charts/fluent-bit/templates/clusterrole.yaml index d44db638..550ac8fe 100644 --- a/charts/fluent-bit/templates/clusterrole.yaml +++ b/charts/fluent-bit/templates/clusterrole.yaml @@ -13,6 +13,7 @@ rules: - pods {{- if .Values.rbac.nodeAccess }} - nodes + - nodes/metrics - nodes/proxy {{- end }} {{- if .Values.rbac.eventsAccess }}