mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
[bitnami/airflow] Fix LDAP when tls is not enabled (#3244)
Signed-off-by: juan131 <juanariza@vmware.com>
This commit is contained in:
committed by
GitHub
parent
98c115cad6
commit
717eb47551
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: airflow
|
||||
version: 6.3.6
|
||||
version: 6.3.7
|
||||
appVersion: 1.10.11
|
||||
description: Apache Airflow is a platform to programmatically author, schedule and monitor workflows.
|
||||
keywords:
|
||||
|
||||
@@ -226,19 +226,19 @@ spec:
|
||||
key: airflow-fernetKey
|
||||
- name: AIRFLOW_WEBSERVER_HOST
|
||||
value: {{ template "airflow.fullname" . }}
|
||||
{{- if .Values.airflow.baseUrl }}
|
||||
{{- if .Values.airflow.baseUrl }}
|
||||
- name: AIRFLOW_BASE_URL
|
||||
value: {{ .Values.airflow.baseUrl }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: AIRFLOW_LOAD_EXAMPLES
|
||||
{{- if .Values.airflow.loadExamples }}
|
||||
value: "yes"
|
||||
{{- else }}
|
||||
value: "no"
|
||||
{{- end }}
|
||||
{{- if .Values.ldap.enabled }}
|
||||
- name: AIRFLOW_LDAP_ENABLE
|
||||
value: "yes"
|
||||
value: {{ ternary "yes" "no" .Values.ldap.enabled | quote }}
|
||||
{{- if .Values.ldap.enabled }}
|
||||
- name: AIRFLOW_LDAP_URI
|
||||
value: {{ .Values.ldap.uri }}
|
||||
- name: AIRFLOW_LDAP_SEARCH
|
||||
@@ -253,14 +253,14 @@ spec:
|
||||
key: bind-password
|
||||
- name: AIRFLOW_LDAP_UID_FIELD
|
||||
value: {{ .Values.ldap.uidField }}
|
||||
{{- if .Values.ldap.tls.enabled }}
|
||||
- name: AIRFLOW_LDAP_USE_TLS
|
||||
value: "yes"
|
||||
value: {{ ternary "yes" "no" .Values.ldap.tls.enabled | quote }}
|
||||
{{- if .Values.ldap.tls.enabled }}
|
||||
- name: AIRFLOW_LDAP_ALLOW_SELF_SIGNED
|
||||
value: {{ .Values.ldap.tls.allowSelfSigned }}
|
||||
- name: AIRFLOW_LDAP_TLS_CA_CERTIFICATE
|
||||
value: {{ include "airflow.ldapCAFilename" . | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.airflow.extraEnvVars }}
|
||||
{{- toYaml .Values.airflow.extraEnvVars | nindent 12 }}
|
||||
|
||||
Reference in New Issue
Block a user