Fix and improve LDAP configuration (#3)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
This commit is contained in:
parent
9806bbc8b1
commit
4fda7eea97
|
@ -288,13 +288,16 @@ data:
|
|||
{{- if .Values.externalAuth.ldap.enabled }}
|
||||
LDAP_ENABLED: {{ .Values.externalAuth.ldap.enabled | quote }}
|
||||
LDAP_HOST: {{ .Values.externalAuth.ldap.host }}
|
||||
LDAP_PORT: {{ .Values.externalAuth.ldap.port }}
|
||||
LDAP_PORT: {{ .Values.externalAuth.ldap.port | quote }}
|
||||
LDAP_METHOD: {{ .Values.externalAuth.ldap.method }}
|
||||
{{- with .Values.externalAuth.ldap.base }}
|
||||
LDAP_BASE: {{ . }}
|
||||
{{- if .Values.externalAuth.ldap.tls_no_verify }}
|
||||
LDAP_TLS_NO_VERIFY: {{ .Values.externalAuth.ldap.tls_no_verify | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.externalAuth.ldap.bind_on }}
|
||||
LDAP_BIND_ON: {{ . }}
|
||||
{{- if .Values.externalAuth.ldap.base }}
|
||||
LDAP_BASE: {{ .Values.externalAuth.ldap.base }}
|
||||
{{- end }}
|
||||
{{- if .Values.externalAuth.ldap.bind_dn }}
|
||||
LDAP_BIND_DN: {{ .Values.externalAuth.ldap.bind_dn }}
|
||||
{{- end }}
|
||||
{{- with .Values.externalAuth.ldap.password }}
|
||||
LDAP_PASSWORD: {{ . }}
|
||||
|
|
|
@ -369,10 +369,11 @@ externalAuth:
|
|||
ldap:
|
||||
enabled: false
|
||||
# host: myservice.namespace.svc
|
||||
# port: 389
|
||||
# port: 636
|
||||
# method: simple_tls
|
||||
# tls_no_verify: true
|
||||
# base:
|
||||
# bind_on:
|
||||
# bind_dn:
|
||||
# password:
|
||||
# uid: cn
|
||||
# mail: mail
|
||||
|
|
Loading…
Reference in New Issue
Block a user