Commit 39336e97 authored by Riley Berton's avatar Riley Berton Committed by David McKay

more toml fixes

parent b447ad05
apiVersion: v1
name: telegraf
version: 1.7.28
version: 1.7.30
appVersion: 1.15
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -164,7 +164,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
]
{{- end }}
{{- if eq $tps "map[string]interface {}"}}
[[outputs.{{ $output }}.{{ $key }}.{{ $k }}]]
[outputs.{{ $output }}.{{ $key }}.{{ $k }}]
{{- range $foo, $bar := $v }}
{{ $foo }} = {{ $bar | quote }}
{{- end }}
......@@ -253,7 +253,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- range $k, $v := $value }}
{{- $tps := typeOf $v }}
{{- if eq $tps "map[string]interface {}"}}
[[inputs.{{ $input }}.{{ $key }}.{{ $k }}]]
[inputs.{{ $input }}.{{ $key }}.{{ $k }}]
{{- range $foo, $bar := $v }}
{{ $foo }} = {{ $bar | quote }}
{{- end }}
......
......@@ -13,10 +13,10 @@ data:
{{ template "outputs" .Values.config.outputs }}
[[outputs.health]]
service_address = "http://:8888"
[[outputs.health.compares]]
[outputs.health.compares]
field = "buffer_size"
lt = 5000.0
[[outputs.health.contains]]
[outputs.health.contains]
field = "buffer_size"
{{ template "inputs" .Values.config.inputs -}}
[[inputs.internal]]
......
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