diff --git a/charts/airflow/templates/pgbouncer/_helpers/pgbouncer.tpl b/charts/airflow/templates/pgbouncer/_helpers/pgbouncer.tpl index 9fe41ada..b2ca09ee 100644 --- a/charts/airflow/templates/pgbouncer/_helpers/pgbouncer.tpl +++ b/charts/airflow/templates/pgbouncer/_helpers/pgbouncer.tpl @@ -4,9 +4,9 @@ Define the content of the `pgbouncer.ini` config file. {{- define "airflow.pgbouncer.pgbouncer.ini" }} [databases] {{- if .Values.postgresql.enabled }} -airflow = host={{ printf "%s.%s.svc.cluster.local" (include "airflow.postgresql.fullname" .) (.Release.Namespace) }} port=5432 +* = host={{ printf "%s.%s.svc.cluster.local" (include "airflow.postgresql.fullname" .) (.Release.Namespace) }} port=5432 {{- else }} -airflow = host={{ .Values.externalDatabase.host }} port={{ .Values.externalDatabase.port }} +* = host={{ .Values.externalDatabase.host }} port={{ .Values.externalDatabase.port }} {{- end }} [pgbouncer]