mirror of
https://github.com/outbackdingo/helm-charts-new.git
synced 2026-01-27 10:19:10 +00:00
charts/openldap/templates/common.yaml: set LDAP_SKIP_DEFAULT_TREE to yes, if .Values.persistence.ldifimport.enabled is enabled; set it to no otherwise
This commit is contained in:
@@ -5,8 +5,10 @@
|
||||
{{- define "openldap.hardcodedValues" -}}
|
||||
env:
|
||||
{{ if .Values.persistence.ldifimport.enabled }}
|
||||
LDAP_SKIP_DEFAULT_TREE: 'no'
|
||||
LDAP_SKIP_DEFAULT_TREE: 'yes'
|
||||
LDAP_CUSTOM_LDIF_DIR: '/ldif_import/'
|
||||
{{ else }}
|
||||
LDAP_SKIP_DEFAULT_TREE: 'no'
|
||||
{{ end }}
|
||||
{{ if .Values.persistence.certificate.enabled }}
|
||||
LDAP_ENABLE_TLS: 'yes'
|
||||
|
||||
Reference in New Issue
Block a user