Skip to content

Expose the pooler URI in the application secret

Brouberol requested to merge T372286-expose-pooler-uri into main

We need airflow to connect to the pooler (pgbouncer) instead of connecting to PG directly. As cloudnative-pg does not expose the pooler URI (only the PG URI), we tweak it so that it does.

This way, we can have airflow inject the URI in its env, and automatically connect to Pgbouncer.

Bug: T372286

Merge request reports