Skip to content

Commit

Permalink
manifests/minimal-master-replica-svcmonitor.yaml: Update postgres-exp…
Browse files Browse the repository at this point in the history
…orter image (#2777)

Signed-off-by: Mario Trangoni <[email protected]>
Co-authored-by: Felix Kunde <[email protected]>
  • Loading branch information
mjtrangoni and FxKu authored Dec 23, 2024
1 parent 265f2a0 commit df3f68b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion manifests/minimal-master-replica-svcmonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,21 @@ spec:
version: "13"
sidecars:
- name: "exporter"
image: "wrouesnel/postgres_exporter"
image: "quay.io/prometheuscommunity/postgres-exporter:v0.15.0"
ports:
- name: exporter
containerPort: 9187
protocol: TCP
env:
- name: DATA_SOURCE_URI
value: ":5432/?sslmode=disable"
- name: DATA_SOURCE_USER
value: "postgres"
- name: DATA_SOURCE_PASS
valueFrom:
secretKeyRef:
name: postgres.test-pg.credentials.postgresql.acid.zalan.do
key: password
resources:
limits:
cpu: 500m
Expand Down

0 comments on commit df3f68b

Please sign in to comment.