From bf76e206824ea2270c97e7465267ab444ee87bd9 Mon Sep 17 00:00:00 2001 From: Christian Niehoff Date: Fri, 13 Oct 2023 08:55:51 +0200 Subject: [PATCH 1/2] fix range function to include relabelings and metricRelabelings Signed-off-by: Christian Niehoff --- .../templates/prometheus/servicemonitors.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kube-prometheus-stack/templates/prometheus/servicemonitors.yaml b/charts/kube-prometheus-stack/templates/prometheus/servicemonitors.yaml index f25d84e7be81..a7a301babc4e 100644 --- a/charts/kube-prometheus-stack/templates/prometheus/servicemonitors.yaml +++ b/charts/kube-prometheus-stack/templates/prometheus/servicemonitors.yaml @@ -35,7 +35,6 @@ items: podTargetLabels: {{ toYaml .podTargetLabels | indent 8 }} {{- end }} -{{- end }} {{- if .metricRelabelings }} metricRelabelings: {{ toYaml .metricRelabelings | indent 8 }} @@ -45,3 +44,4 @@ items: {{ toYaml .relabelings | indent 8 }} {{- end }} {{- end }} +{{- end }} From b92fbf39fbfb1931d5235ea3723fb37c79460a99 Mon Sep 17 00:00:00 2001 From: Christian Niehoff Date: Fri, 13 Oct 2023 08:56:02 +0200 Subject: [PATCH 2/2] bump chart version Signed-off-by: Christian Niehoff --- charts/kube-prometheus-stack/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kube-prometheus-stack/Chart.yaml b/charts/kube-prometheus-stack/Chart.yaml index eaa01743d06e..ce6dec3aeb09 100644 --- a/charts/kube-prometheus-stack/Chart.yaml +++ b/charts/kube-prometheus-stack/Chart.yaml @@ -21,7 +21,7 @@ name: kube-prometheus-stack sources: - https://github.com/prometheus-community/helm-charts - https://github.com/prometheus-operator/kube-prometheus -version: 51.6.1 +version: 51.6.2 appVersion: v0.68.0 kubeVersion: ">=1.19.0-0" home: https://github.com/prometheus-operator/kube-prometheus