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 }}