diff --git a/charts/prometheus-postgres-exporter/Chart.yaml b/charts/prometheus-postgres-exporter/Chart.yaml index df1c78378907..cd9fb8292052 100644 --- a/charts/prometheus-postgres-exporter/Chart.yaml +++ b/charts/prometheus-postgres-exporter/Chart.yaml @@ -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 diff --git a/charts/prometheus-postgres-exporter/templates/servicemonitor.yaml b/charts/prometheus-postgres-exporter/templates/servicemonitor.yaml index e8a51d9e586b..9dccf089324f 100644 --- a/charts/prometheus-postgres-exporter/templates/servicemonitor.yaml +++ b/charts/prometheus-postgres-exporter/templates/servicemonitor.yaml @@ -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 }}