From bcac4aa5ecc2c32c674febace642e09c61701777 Mon Sep 17 00:00:00 2001 From: leonsteinhaeuser Date: Fri, 1 Sep 2023 13:01:10 +0200 Subject: [PATCH] fix: fluentd watchedNamespaces Helm mapping Signed-off-by: leonsteinhaeuser --- charts/fluent-operator/Chart.yaml | 2 +- .../templates/fluentd-clusterfluentdconfig.yaml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/charts/fluent-operator/Chart.yaml b/charts/fluent-operator/Chart.yaml index cd7d5d09d..ba677ee70 100644 --- a/charts/fluent-operator/Chart.yaml +++ b/charts/fluent-operator/Chart.yaml @@ -15,7 +15,7 @@ description: A Helm chart for Kubernetes # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.4.1 +version: 2.4.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/fluent-operator/templates/fluentd-clusterfluentdconfig.yaml b/charts/fluent-operator/templates/fluentd-clusterfluentdconfig.yaml index 2a7f0e29c..15da1f3f6 100644 --- a/charts/fluent-operator/templates/fluentd-clusterfluentdconfig.yaml +++ b/charts/fluent-operator/templates/fluentd-clusterfluentdconfig.yaml @@ -8,9 +8,7 @@ metadata: config.fluentd.fluent.io/enabled: "true" spec: watchedNamespaces: - {{- range .Values.fluentd.watchedNamespaces }} - - {{ . }} - {{- end }} + {{- toYaml .Values.fluentd.watchedNamespaces | nindent 4 }} clusterFilterSelector: matchLabels: filter.fluentd.fluent.io/enabled: "true"