Skip to content

Commit

Permalink
fix(authelia): incorrect end block in configmap (#61)
Browse files Browse the repository at this point in the history
This is so the LDAP properties are only rendered when LDAP is enabled. A logic error in where the end block was placed caused an unwanted behaviour.
  • Loading branch information
james-d-elliott authored May 5, 2021
1 parent 101771f commit 044c88c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.3.23
version: 0.3.24
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
2 changes: 1 addition & 1 deletion charts/authelia/templates/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ data:
{{- if $auth.ldap.group_name_attribute }}
group_name_attribute: {{ $auth.ldap.group_name_attribute }}
{{- end }}
{{- end }}
{{- if $auth.ldap.mail_attribute }}
group_name_attribute: {{ $auth.ldap.mail_attribute }}
{{- end }}
Expand All @@ -73,6 +72,7 @@ data:
{{- end }}
user: {{ $auth.ldap.user }}
{{- end }}
{{- end }}
{{- with $session := .Values.configMap.session }}
session:
name: {{ default "authelia_session" $session.name }}
Expand Down

0 comments on commit 044c88c

Please sign in to comment.