[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 <jlothian@cisco.com>

* Update Chart.yaml

Signed-off-by: Maor Friedman <maor.friedman@redhat.com>
This commit is contained in:
Josh Lothian
2019-06-27 15:49:22 -07:00
committed by Kubernetes Prow Robot
parent 049be7b0a8
commit 01b3313a10
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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:
@@ -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 }}