mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/airflow] Mount password when Postgres or Redis are enabled (#16030)
Signed-off-by: Mohannad Albanayosy <m.banayosi@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
7ab1ac82cd
commit
ef50e8c711
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Airflow is a platform to programmatically author, schedule and monitor workflows
|
||||
name: airflow
|
||||
version: 4.0.4
|
||||
version: 4.0.5
|
||||
appVersion: 1.10.3
|
||||
icon: https://airflow.apache.org/_images/pin_large.png
|
||||
home: https://airflow.apache.org/
|
||||
|
||||
@@ -99,14 +99,14 @@ The key names for postgres and redis are fixed, which is consistent with the sub
|
||||
{{- define "airflow.mapenvsecrets" }}
|
||||
- name: POSTGRES_USER
|
||||
value: {{ default "postgres" .Values.postgresql.postgresUser | quote }}
|
||||
{{- if .Values.postgresql.existingSecret }}
|
||||
{{- if or .Values.postgresql.existingSecret .Values.postgresql.enabled }}
|
||||
- name: POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ default (include "airflow.postgresql.fullname" .) .Values.postgresql.existingSecret }}
|
||||
key: postgres-password
|
||||
{{- end }}
|
||||
{{- if .Values.redis.existingSecret }}
|
||||
{{- if or .Values.redis.existingSecret .Values.redis.enabled }}
|
||||
- name: REDIS_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
Reference in New Issue
Block a user