From 01b3313a1056fcb277a19fafde1c05c8d4f76696 Mon Sep 17 00:00:00 2001 From: Josh Lothian Date: Thu, 27 Jun 2019 17:49:22 -0500 Subject: [PATCH] [stable/prometheus-snmp-exporter] Don't run config through toYaml (#13884) * Fix prometheus snmp-exporter chart - don't try to convert the values to YAML - it takes integer keys and converts them to strings, causing marshalling errors on snmp-exporter startup Signed-off-by: Josh Lothian * Update Chart.yaml Signed-off-by: Maor Friedman --- stable/prometheus-snmp-exporter/Chart.yaml | 2 +- stable/prometheus-snmp-exporter/templates/configmap.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/prometheus-snmp-exporter/Chart.yaml b/stable/prometheus-snmp-exporter/Chart.yaml index 18ad583cd0..dcd0ce82cf 100644 --- a/stable/prometheus-snmp-exporter/Chart.yaml +++ b/stable/prometheus-snmp-exporter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Prometheus SNMP Exporter name: prometheus-snmp-exporter -version: 0.0.3 +version: 0.0.4 appVersion: 0.14.0 home: https://github.com/prometheus/snmp_exporter sources: diff --git a/stable/prometheus-snmp-exporter/templates/configmap.yaml b/stable/prometheus-snmp-exporter/templates/configmap.yaml index b439300fcf..00e4aeda9a 100644 --- a/stable/prometheus-snmp-exporter/templates/configmap.yaml +++ b/stable/prometheus-snmp-exporter/templates/configmap.yaml @@ -11,5 +11,5 @@ metadata: helm.sh/chart: {{ include "prometheus-snmp-exporter.chart" . }} data: snmp.yaml: | -{{ toYaml .Values.config | indent 4 }} +{{ .Values.config | indent 4 }} {{- end }}