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"