apiVersion: postgresql.cnpg.io/v1 kind: Pooler metadata: name: pooler-weyma-rw spec: cluster: name: weyma-pgsql instances: 3 type: rw pgbouncer: poolMode: session authQuery: "SELECT usename, passwd FROM pg_shadow WHERE usename=$1" authQuerySecret: name: pgbouncer-auth-query parameters: max_client_conn: "10000" default_pool_size: "100"