From 09eb4a9db89b8c8e3131d54a6a7ad10a1f2455de Mon Sep 17 00:00:00 2001 From: Frederic Van Espen Date: Fri, 4 Apr 2025 14:29:04 +0200 Subject: [PATCH] fix rule rendering, #5508 Signed-off-by: Frederic Van Espen --- charts/prometheus-postgres-exporter/Chart.yaml | 2 +- .../prometheus-postgres-exporter/templates/prometheusrule.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/prometheus-postgres-exporter/Chart.yaml b/charts/prometheus-postgres-exporter/Chart.yaml index 04bd170c03b3..2e75b8481b00 100644 --- a/charts/prometheus-postgres-exporter/Chart.yaml +++ b/charts/prometheus-postgres-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "v0.17.0" description: A Helm chart for prometheus postgres-exporter name: prometheus-postgres-exporter -version: 6.10.0 +version: 6.10.1 home: https://github.com/prometheus-community/postgres_exporter sources: - https://github.com/prometheus-community/postgres_exporter diff --git a/charts/prometheus-postgres-exporter/templates/prometheusrule.yaml b/charts/prometheus-postgres-exporter/templates/prometheusrule.yaml index 88e933e2d76f..b73d16ea9f43 100644 --- a/charts/prometheus-postgres-exporter/templates/prometheusrule.yaml +++ b/charts/prometheus-postgres-exporter/templates/prometheusrule.yaml @@ -13,6 +13,6 @@ spec: {{- with .Values.prometheusRule.rules }} groups: - name: {{ template "prometheus-postgres-exporter.name" $ }} - rules: {{ tpl (toYaml .) $ | nindent 8 }} + rules: {{ toYaml . | nindent 8 }} {{- end }} {{- end }}