diff --git a/charts/authelia/Chart.yaml b/charts/authelia/Chart.yaml index 080a0da..ee02246 100644 --- a/charts/authelia/Chart.yaml +++ b/charts/authelia/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: authelia -version: 0.8.23 +version: 0.8.24 kubeVersion: ">= 1.13.0-0" description: Authelia is a Single Sign-On Multi-Factor portal for web apps type: application diff --git a/charts/authelia/templates/configMap.yaml b/charts/authelia/templates/configMap.yaml index 8fd1730..4f9f92f 100644 --- a/charts/authelia/templates/configMap.yaml +++ b/charts/authelia/templates/configMap.yaml @@ -284,7 +284,9 @@ data: {{- end }} {{- if semverCompare ">=4.35.0" (include "authelia.version" $) }} sector_identifier: {{ $client.sector_identifier | default "" | quote }} - pre_configured_consent_duration: {{ $client.pre_configured_consent_duration | default "" | quote }} + {{ if $client.pre_configured_consent_duration }} + pre_configured_consent_duration: {{ $client.pre_configured_consent_duration | quote }} + {{- end }} {{- end }} public: {{ $client.public | default false }} authorization_policy: {{ default "two_factor" $client.authorization_policy }}