diff --git a/Chart.yaml b/Chart.yaml index c72413c..148cf87 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -13,7 +13,7 @@ dependencies: - bitnami-common version: ~2 home: https://www.openldap.org -version: 4.2.4 +version: 4.2.5 appVersion: 2.6.7 description: Community developed LDAP software icon: https://raw.githubusercontent.com/jp-gouin/helm-openldap/master/logo.png diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index bc650de..2a76fd5 100755 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -217,7 +217,7 @@ Return the proper base domain tmp method to iterate through the ldapDomain */}} {{- define "tmp.baseDomain" -}} -{{- if regexMatch ".*=.*,.*" .Values.global.ldapDomain }} +{{- if regexMatch ".*=.*" .Values.global.ldapDomain }} {{- printf "%s" .Values.global.ldapDomain }} {{- else }} {{- $parts := split "." .Values.global.ldapDomain }}