From d0f9bcc80f0282519bee34d81175895c8a776b1f Mon Sep 17 00:00:00 2001 From: Maciej Moleda Date: Wed, 22 Jul 2020 10:22:05 +0100 Subject: [PATCH] [stable/prometheus-operator] fix prometheus additionalScrapeConfigsSecret (#23286) Signed-off-by: Maciej Moleda --- stable/prometheus-operator/Chart.yaml | 2 +- .../prometheus-operator/templates/prometheus/prometheus.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/prometheus-operator/Chart.yaml b/stable/prometheus-operator/Chart.yaml index d0e06de6f0..a8dcc3b912 100644 --- a/stable/prometheus-operator/Chart.yaml +++ b/stable/prometheus-operator/Chart.yaml @@ -12,7 +12,7 @@ sources: - https://github.com/coreos/kube-prometheus - https://github.com/coreos/prometheus-operator - https://coreos.com/operators/prometheus -version: 9.1.1 +version: 9.1.2 appVersion: 0.38.1 tillerVersion: ">=2.12.0" home: https://github.com/coreos/prometheus-operator diff --git a/stable/prometheus-operator/templates/prometheus/prometheus.yaml b/stable/prometheus-operator/templates/prometheus/prometheus.yaml index db2b7e3605..210fd50fe9 100644 --- a/stable/prometheus-operator/templates/prometheus/prometheus.yaml +++ b/stable/prometheus-operator/templates/prometheus/prometheus.yaml @@ -211,8 +211,8 @@ spec: {{- end }} {{- if .Values.prometheus.prometheusSpec.additionalScrapeConfigsSecret.enabled }} additionalScrapeConfigs: - name: {{- .Values.prometheus.prometheusSpec.additionalScrapeConfigsSecret.name }} - key: {{- .Values.prometheus.prometheusSpec.additionalScrapeConfigsSecret.key }} + name: {{ .Values.prometheus.prometheusSpec.additionalScrapeConfigsSecret.name }} + key: {{ .Values.prometheus.prometheusSpec.additionalScrapeConfigsSecret.key }} {{- end }} {{- if .Values.prometheus.prometheusSpec.additionalAlertManagerConfigs }} additionalAlertManagerConfigs: