diff --git a/charts/prometheus/templates/cm.yaml b/charts/prometheus/templates/cm.yaml index c4f4bedbfac0..4e1ba70b84d1 100644 --- a/charts/prometheus/templates/cm.yaml +++ b/charts/prometheus/templates/cm.yaml @@ -56,7 +56,7 @@ data: {{- end }} {{- if eq $key "prometheus.yml" -}} {{- if $root.Values.extraScrapeConfigs }} -{{ tpl $root.Values.extraScrapeConfigs $root | indent 4 }} +{{ tpl $root.Values.extraScrapeConfigs $root | indent 4 }} {{- end -}} {{- if or ($root.Values.alertmanager.enabled) ($root.Values.server.alertmanagers) }} alerting: