Skip to content

Commit

Permalink
Fluent-bit exclude path works only when there is not space around com…
Browse files Browse the repository at this point in the history
…ma (#7880)
  • Loading branch information
rakesh-garimella authored and adamwalach committed Apr 8, 2020
1 parent 2c62813 commit 1cbee40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/logging/charts/fluentbit/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Return the arguments of the metrics-collection script
{{- if .Values.conf.Input.Kubernetes_loki.exclude.namespaces -}}
{{- $namespaces := splitList "," .Values.conf.Input.Kubernetes_loki.exclude.namespaces -}}
{{- range $namespaces -}}
{{- printf "/var/log/containers/*_%s_*.log, " . -}}
{{- printf "/var/log/containers/*_%s_*.log," . -}}
{{- end -}}
{{- end -}}
{{- if .Values.conf.Input.Kubernetes_loki.Exclude_Path -}}
Expand Down

0 comments on commit 1cbee40

Please sign in to comment.