use custom auth query for pg pooler

This commit is contained in:
2025-11-13 16:25:24 -05:00
parent ec15e9de3a
commit e7692bc346

View File

@@ -9,6 +9,7 @@ spec:
type: rw type: rw
pgbouncer: pgbouncer:
poolMode: session poolMode: session
authQuery: "SELECT usename, passwd FROM pg_catalog.pg_shadow WHERE usename = $1"
parameters: parameters:
max_client_conn: "1000" max_client_conn: "1000"
default_pool_size: "10" default_pool_size: "10"