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 }}