Skip to content

Commit

Permalink
Merge pull request #166 from jp-gouin/short-domain
Browse files Browse the repository at this point in the history
add support for short domain 'o=toto'
  • Loading branch information
jp-gouin authored May 30, 2024
2 parents 7efc136 + 76fefbf commit 78f801c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 78f801c

Please sign in to comment.