Unverified Commit d534df36 authored by Bastien Dronneau's avatar Bastien Dronneau Committed by GitHub

fix(telegraf): configmap rendering error (#442)

* fix(telegraf): configmap rendering error * bump version Co-authored-by: 's avatarAles Pour <ales.pour@bonitoo.io>
parent d0e9600b
apiVersion: v2 apiVersion: v2
name: telegraf name: telegraf
version: 1.8.16 version: 1.8.17
appVersion: 1.21.4 appVersion: 1.21.4
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.
......
...@@ -6,7 +6,7 @@ metadata: ...@@ -6,7 +6,7 @@ metadata:
{{- include "telegraf.labels" . | nindent 4 }} {{- include "telegraf.labels" . | nindent 4 }}
data: data:
telegraf.conf: |+ telegraf.conf: |+
{{- $tplVersion := include "detect.version" . -}} {{- $tplVersion := include "detect.version" . }}
{{ template "global_tags" .Values.config.global_tags }} {{ template "global_tags" .Values.config.global_tags }}
{{ template "agent" .Values.config.agent }} {{ template "agent" .Values.config.agent }}
{{ template "processors" (list $tplVersion .Values.config.processors) }} {{ template "processors" (list $tplVersion .Values.config.processors) }}
......
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