From 96b831e83c7955ef04714c4f4831245b47694f41 Mon Sep 17 00:00:00 2001 From: hamza-m-masood Date: Mon, 6 Jan 2025 11:52:26 +0000 Subject: [PATCH] fix: client-secret only present when string literal provided for oidc --- charts/camunda-platform-8.5/templates/identity/configmap.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/camunda-platform-8.5/templates/identity/configmap.yaml b/charts/camunda-platform-8.5/templates/identity/configmap.yaml index fbabcf4d2b..bbfec8de35 100644 --- a/charts/camunda-platform-8.5/templates/identity/configmap.yaml +++ b/charts/camunda-platform-8.5/templates/identity/configmap.yaml @@ -20,6 +20,8 @@ data: {{- if (tpl ( include "identity.authClientSecret" . ) .)}} client-id: {{ include "identity.authClientId" . | quote }} + {{- end }} + {{- if and (.Values.global.identity.auth.identity.existingSecret) (eq (typeOf .Values.global.identity.auth.identity.existingSecret) "string") }} client-secret: {{ include "identity.authClientSecret" . | quote }} {{- end }}