diff --git a/stable/prometheus/Chart.yaml b/stable/prometheus/Chart.yaml index 12fddcbbaa32..aec992115a66 100755 --- a/stable/prometheus/Chart.yaml +++ b/stable/prometheus/Chart.yaml @@ -1,5 +1,5 @@ name: prometheus -version: 8.3.0 +version: 8.3.1 appVersion: 2.6.0 description: Prometheus is a monitoring system and time series database. home: https://prometheus.io/ diff --git a/stable/prometheus/templates/server-configmap.yaml b/stable/prometheus/templates/server-configmap.yaml index 372cb7a507e9..fa6e44a413e3 100644 --- a/stable/prometheus/templates/server-configmap.yaml +++ b/stable/prometheus/templates/server-configmap.yaml @@ -11,7 +11,7 @@ data: {{ $key }}: | {{- if eq $key "prometheus.yml" }} global: -{{ $root.Values.server.global | toYaml | indent 6 }} +{{ $root.Values.server.global | toYaml | trimSuffix "\n" | indent 6 }} {{- end }} {{ toYaml $value | default "{}" | indent 4 }} {{- if eq $key "prometheus.yml" -}}