Skip to content
Snippets Groups Projects
Commit 960b709b authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5238 Try to fix _helpers.tpl

parent c1d98b0b
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,10 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- end -}}
{{- define "app.ssoClientName" -}}
{{- if (.Values.sso.keycloak_clients[0]).client_name -}}
{{ printf "%s" (.Values.sso.keycloak_clients[0]).client_name }}
{{- if ( .Values.sso).keycloak_clients -}}
{{- with (first .Values.sso.keycloak_clients) }}
{{ printf "%s" .client_name }}
{{- end }}
{{- else -}}
{{ printf "admin" }}
{{- end -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment