Skip to content

Commit 04c73e1

Browse files
authored
fix: Updating postgres-exporter to match postgres-operator and adding dashboard (rackerlabs#788)
1 parent e470528 commit 04c73e1

File tree

2 files changed

+3344
-3
lines changed

2 files changed

+3344
-3
lines changed

base-helm-configs/prometheus-postgres-exporter/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ config:
128128
## ref: https://helm.sh/docs/developing_charts/#using-the-tpl-function
129129
datasource:
130130
# Specify one of both datasource or datasourceSecret
131-
host: postgresql
131+
host: postgres-cluster
132132
user: postgres
133133
userSecret: {}
134134
# Secret name
@@ -142,7 +142,7 @@ config:
142142
passwordFile: ''
143143
# Specify passwordSecret if DB password is stored in secret.
144144
passwordSecret:
145-
name: postgresql-db-admin
145+
name: postgres.postgres-cluster.credentials.postgresql.acid.zalan.do
146146
key: password
147147
# Secret name
148148
# name:
@@ -153,7 +153,7 @@ config:
153153
# See https://www.postgresql.org/docs/14/libpq-pgpass.html for more info.
154154
port: "5432"
155155
database: ''
156-
sslmode: disable
156+
sslmode: require
157157
extraParams: ''
158158
datasourceSecret: {}
159159
# Specifies if datasource should be sourced from secret value in format: postgresql://login:password@hostname:port/dbname?sslmode=disable

0 commit comments

Comments
 (0)