Skip to content

Commit df3f68b

Browse files
mjtrangoniFxKu
andauthored
manifests/minimal-master-replica-svcmonitor.yaml: Update postgres-exporter image (#2777)
Signed-off-by: Mario Trangoni <[email protected]> Co-authored-by: Felix Kunde <[email protected]>
1 parent 265f2a0 commit df3f68b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

manifests/minimal-master-replica-svcmonitor.yaml

+11-1
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,21 @@ spec:
3131
version: "13"
3232
sidecars:
3333
- name: "exporter"
34-
image: "wrouesnel/postgres_exporter"
34+
image: "quay.io/prometheuscommunity/postgres-exporter:v0.15.0"
3535
ports:
3636
- name: exporter
3737
containerPort: 9187
3838
protocol: TCP
39+
env:
40+
- name: DATA_SOURCE_URI
41+
value: ":5432/?sslmode=disable"
42+
- name: DATA_SOURCE_USER
43+
value: "postgres"
44+
- name: DATA_SOURCE_PASS
45+
valueFrom:
46+
secretKeyRef:
47+
name: postgres.test-pg.credentials.postgresql.acid.zalan.do
48+
key: password
3949
resources:
4050
limits:
4151
cpu: 500m

0 commit comments

Comments
 (0)