[databases] authentik = host=postgresql.dbaas port=5432 dbname=authentik user=authentik password=${password} [pgbouncer] listen_addr = 0.0.0.0 listen_port = 6432 auth_type = md5 auth_file = /etc/pgbouncer/userlist.txt pool_mode = session max_client_conn = 200 default_pool_size = 20 reserve_pool_size = 5 reserve_pool_timeout = 5 ignore_startup_parameters = extra_float_digits ; Reap server connections stuck "idle in transaction" (e.g. an authentik pod ; killed mid-migration leaves a ghost transaction holding the migration ; advisory lock, serializing every subsequent pod boot — 2026-06-10 incident). idle_transaction_timeout = 300