Skip to content

Commit

Permalink
[prometheus-postgresql-exporter] fix template
Browse files Browse the repository at this point in the history
fix bad rendering when serviceMonitor.enabled=true without serviceMonitor.multipleTarget.enabled

Signed-off-by: Julien Francoz <[email protected]>
  • Loading branch information
jfcoz committed Dec 10, 2024
1 parent aaa91c9 commit 9c0cb84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-postgres-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "v0.16.0"
description: A Helm chart for prometheus postgres-exporter
name: prometheus-postgres-exporter
version: 6.7.0
version: 6.7.1
home: https://github.com/prometheus-community/postgres_exporter
sources:
- https://github.com/prometheus-community/postgres_exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- if not .Values.serviceMonitor.multipleTarget.enabled -}}
{{- if not .Values.serviceMonitor.multipleTarget.enabled }}
endpoints:
- port: {{ .Values.service.name }}
{{- if .Values.serviceMonitor.interval }}
Expand Down

0 comments on commit 9c0cb84

Please sign in to comment.