[bitnami/airflow] Fixing error with default PostgreSQL password (#25138)

* [bitnami/airflow] Fixing error with default PostgreSQL password

Signed-off-by: artur-bolt <artur@opsguru.io>

* [bitnami/airflow] Updating Chart.yaml

Signed-off-by: artur-bolt <artur@opsguru.io>

---------

Signed-off-by: artur-bolt <artur@opsguru.io>
This commit is contained in:
Artur Boltrukevich
2024-04-15 11:35:42 +02:00
committed by GitHub
parent d6f8af577d
commit d9df38068a

View File

@@ -159,6 +159,8 @@ Get the Postgresql credentials secret.
{{- if .Values.global.postgresql.auth }}
{{- if .Values.global.postgresql.auth.existingSecret }}
{{- tpl .Values.global.postgresql.auth.existingSecret $ -}}
{{- else -}}
{{- default (include "airflow.postgresql.fullname" .) (tpl .Values.postgresql.auth.existingSecret $) -}}
{{- end -}}
{{- else -}}
{{- if and ( .Values.postgresql.auth.existingSecret ) ( .Values.postgresql.auth.enablePostgresUser ) }}