[stable/prometheus-blackbox-exporter] Fix broken additionalLabels for protmetheusrule (#22800)

Signed-off-by: Christoph Manns <mannsc@strato.de>
This commit is contained in:
Christoph Manns
2020-06-15 08:23:56 -07:00
committed by GitHub
parent a4e2bf8bdd
commit a73ee439b1
2 changed files with 3 additions and 3 deletions
@@ -1,7 +1,7 @@
apiVersion: v1
description: Prometheus Blackbox Exporter
name: prometheus-blackbox-exporter
version: 4.1.0
version: 4.1.1
appVersion: 0.16.0
home: https://github.com/prometheus/blackbox_exporter
sources:
@@ -11,8 +11,8 @@ metadata:
app.kubernetes.io/instance: {{ $.Release.Name }}
app.kubernetes.io/managed-by: {{ $.Release.Service }}
helm.sh/chart: {{ include "prometheus-blackbox-exporter.chart" $ }}
{{- with .Values.prometheusRule.additionalLabels }}
{{- toYaml . | indent 4 }}
{{- with .Values.prometheusRule.additionalLabels -}}
{{- toYaml . | nindent 4 -}}
{{- end }}
spec:
{{- with .Values.prometheusRule.rules }}