Skip to content

Commit

Permalink
[prometheus-postgres-exporter] Correct endpoint port name in service …
Browse files Browse the repository at this point in the history
…monitor (#4614)

* Change targetPort property to port property when configuring service monitor

Signed-off-by: Ruslan Savchuk <[email protected]>

* Increase [prometheus-postgres-exporter] version to 6.0.1

Signed-off-by: Ruslan Savchuk <[email protected]>

---------

Signed-off-by: Ruslan Savchuk <[email protected]>
Co-authored-by: MH <[email protected]>
  • Loading branch information
ruslansavchuk and zanhsieh authored Jul 10, 2024
1 parent 5dcc890 commit 5d9b323
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.15.0"
description: A Helm chart for prometheus postgres-exporter
name: prometheus-postgres-exporter
version: 6.0.0
version: 6.0.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 @@ -13,7 +13,7 @@ metadata:
{{- end }}
spec:
endpoints:
- targetPort: {{ .Values.service.name }}
- port: {{ .Values.service.name }}
{{- if .Values.serviceMonitor.interval }}
interval: {{ .Values.serviceMonitor.interval }}
{{- end }}
Expand Down

0 comments on commit 5d9b323

Please sign in to comment.