Skip to content

Commit

Permalink
add support for short domain 'o=toto'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed May 29, 2024
1 parent 7ce323a commit 76fefbf
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 76fefbf

Please sign in to comment.