Unverified Commit bd106f16 authored by Nicholas Gibson's avatar Nicholas Gibson Committed by GitHub

[telegraf] Fix tagpass and tagdrop in aggregations (#380)

* use single square brackets for tagpass and tagdrop aggregations * chart version 1.8.6->1.8.7 Co-authored-by: 's avatarNicholas Gibson <ngibson@causewaycap.com>
parent df36a153
......@@ -441,7 +441,11 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- range $key, $value := $config -}}
{{- $tp := typeOf $value -}}
{{- if eq $tp "map[string]interface {}" }}
{{- if or (eq $key "tagpass") (eq $key "tagdrop") }}
[aggregators.{{ $aggregator }}.{{ $key }}]
{{- else }}
[[aggregators.{{ $aggregator }}.{{ $key }}]]
{{- end }}
{{- range $k, $v := $value }}
{{- $tps := typeOf $v }}
{{- if eq $tps "string" }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment