diff --git a/bitnami/kube-prometheus/Chart.yaml b/bitnami/kube-prometheus/Chart.yaml index 74c438fc7a..e1bc43051e 100644 --- a/bitnami/kube-prometheus/Chart.yaml +++ b/bitnami/kube-prometheus/Chart.yaml @@ -35,4 +35,4 @@ sources: - https://github.com/bitnami/bitnami-docker-prometheus - https://github.com/bitnami/bitnami-docker-alertmanager - https://github.com/prometheus-operator/kube-prometheus -version: 6.9.6 +version: 6.9.7 diff --git a/bitnami/kube-prometheus/templates/_helpers.tpl b/bitnami/kube-prometheus/templates/_helpers.tpl index bf6917ef7e..3d3ad869c2 100644 --- a/bitnami/kube-prometheus/templates/_helpers.tpl +++ b/bitnami/kube-prometheus/templates/_helpers.tpl @@ -70,8 +70,8 @@ Common Labels */}} {{- define "kube-prometheus.labels" -}} {{- include "common.labels.standard" . -}} -{{- if .Values.global.labels -}} -{{- toYaml .Values.global.labels -}} +{{- if .Values.global.labels }} +{{ toYaml .Values.global.labels -}} {{- end -}} {{- end -}}