pass infra role names to pooler pods

This commit is contained in:
Felix Kunde
2026-04-21 15:37:29 +02:00
parent 866a17f881
commit 4857694002
2 changed files with 16 additions and 3 deletions
+4 -3
View File
@@ -8,11 +8,12 @@ postgres = host=$PGHOST port=$PGPORT auth_user=$PGUSER
pool_mode = $CONNECTION_POOLER_MODE
listen_port = $CONNECTION_POOLER_PORT
listen_addr = *
auth_type = md5
auth_file = /etc/pgbouncer/auth_file.txt
auth_dbname = postgres
admin_users = $PGUSER
stats_users = $INFRASTRUCTURE_ROLES
auth_dbname = postgres
auth_file = /etc/pgbouncer/auth_file.txt
auth_query = SELECT * FROM $PGSCHEMA.user_lookup($1)
auth_type = md5
logfile = /var/log/pgbouncer/pgbouncer.log
pidfile = /var/run/pgbouncer/pgbouncer.pid