mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 04:09:25 +02:00
configure pooler auth type based on parameters (#3193)
* configure pooler auth type based on parameters * need to sync CONNECTION_POOLER_AUTH_TYPE * add case when auth type is not yet set * Update docs/migrate.md Co-authored-by: Ida Novindasari <idanovinda@gmail.com> * add type cast to only allow scram or md5 --------- Co-authored-by: Ida Novindasari <idanovinda@gmail.com>
This commit is contained in:
co-authored by
Ida Novindasari
parent
c8e0225f8f
commit
5dce164427
@@ -13,7 +13,7 @@ stats_users = $INFRASTRUCTURE_ROLES
|
||||
auth_dbname = postgres
|
||||
auth_file = /etc/pgbouncer/userlist.txt
|
||||
auth_query = SELECT * FROM $PGSCHEMA.user_lookup($1)
|
||||
auth_type = scram-sha-256
|
||||
auth_type = $CONNECTION_POOLER_AUTH_TYPE
|
||||
logfile = /var/log/pgbouncer/pgbouncer.log
|
||||
pidfile = /var/run/pgbouncer/pgbouncer.pid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user