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 }} diff --git a/charts/camunda-platform-8.6/templates/identity/configmap.yaml b/charts/camunda-platform-8.6/templates/identity/configmap.yaml index deb9deba0b..5e8520a7d8 100644 --- a/charts/camunda-platform-8.6/templates/identity/configmap.yaml +++ b/charts/camunda-platform-8.6/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 }} diff --git a/charts/camunda-platform-alpha/templates/identity/configmap.yaml b/charts/camunda-platform-alpha/templates/identity/configmap.yaml index 74b14fe9e9..97973f06b8 100644 --- a/charts/camunda-platform-alpha/templates/identity/configmap.yaml +++ b/charts/camunda-platform-alpha/templates/identity/configmap.yaml @@ -25,6 +25,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 }}