From 7fd2860249438393cc5e26173878aca61fbd13c2 Mon Sep 17 00:00:00 2001 From: Malar Invention Date: Sun, 17 Nov 2024 23:26:56 +0530 Subject: [PATCH 1/4] fix authelia configuration.yaml configmap for public clients secret should be empty string --- charts/premium/authelia/templates/_configmap.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/premium/authelia/templates/_configmap.tpl b/charts/premium/authelia/templates/_configmap.tpl index 6c2c0c99e255..5414f888914f 100644 --- a/charts/premium/authelia/templates/_configmap.tpl +++ b/charts/premium/authelia/templates/_configmap.tpl @@ -245,9 +245,11 @@ data: {{- range $client := .Values.identity_providers.oidc.clients }} - id: {{ $client.id }} description: {{ $client.description | default $client.id }} - secret: {{ $client.secret | default (randAlphaNum 128) }} {{- if $client.public }} public: {{ $client.public }} + secret: "" + {{- else }} + secret: {{ $client.secret | default (randAlphaNum 128) }} {{- end }} authorization_policy: {{ $client.authorization_policy | default "two_factor" }} consent_mode: {{ $client.consent_mode | default "auto" }} From c4a7938140f848b9aa1c6464f02e1e4024391e8b Mon Sep 17 00:00:00 2001 From: Malar Invention Date: Sun, 17 Nov 2024 23:32:09 +0530 Subject: [PATCH 2/4] increase patch version for bugfix --- charts/premium/authelia/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/premium/authelia/Chart.yaml b/charts/premium/authelia/Chart.yaml index 58b45be1acc4..16f3a93157b2 100644 --- a/charts/premium/authelia/Chart.yaml +++ b/charts/premium/authelia/Chart.yaml @@ -50,4 +50,4 @@ sources: - https://github.com/authelia/chartrepo - https://github.com/truecharts/charts/tree/master/charts/premium/authelia type: application -version: 25.5.4 +version: 25.5.5 From 62b281066a7af2a18bf17a4047daff7542c777da Mon Sep 17 00:00:00 2001 From: Malar Kannan Date: Sat, 23 Nov 2024 11:01:21 +0530 Subject: [PATCH 3/4] Update charts/premium/authelia/templates/_configmap.tpl Co-authored-by: Kjeld Schouten Signed-off-by: Malar Kannan --- charts/premium/authelia/templates/_configmap.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/premium/authelia/templates/_configmap.tpl b/charts/premium/authelia/templates/_configmap.tpl index 5414f888914f..0db02c9df2c6 100644 --- a/charts/premium/authelia/templates/_configmap.tpl +++ b/charts/premium/authelia/templates/_configmap.tpl @@ -249,7 +249,7 @@ data: public: {{ $client.public }} secret: "" {{- else }} - secret: {{ $client.secret | default (randAlphaNum 128) }} + secret: {{ $client.secret }} {{- end }} authorization_policy: {{ $client.authorization_policy | default "two_factor" }} consent_mode: {{ $client.consent_mode | default "auto" }} From b0ceda408f23ded778c0873fe62d9e6acace5081 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Thu, 12 Dec 2024 17:49:32 +0100 Subject: [PATCH 4/4] Update charts/premium/authelia/templates/_configmap.tpl Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Kjeld Schouten --- charts/premium/authelia/templates/_configmap.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/premium/authelia/templates/_configmap.tpl b/charts/premium/authelia/templates/_configmap.tpl index 0db02c9df2c6..7cdce1be9c38 100644 --- a/charts/premium/authelia/templates/_configmap.tpl +++ b/charts/premium/authelia/templates/_configmap.tpl @@ -249,7 +249,7 @@ data: public: {{ $client.public }} secret: "" {{- else }} - secret: {{ $client.secret }} + secret: {{ $client.secret | required "Client secret is required" }} {{- end }} authorization_policy: {{ $client.authorization_policy | default "two_factor" }} consent_mode: {{ $client.consent_mode | default "auto" }}