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

more toml fixes

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