Skip to content
Snippets Groups Projects
Commit 788a623a authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4939 More adjustments to match alfa

parent 6ac502fa
Branches
Tags
No related merge requests found
......@@ -9,9 +9,20 @@ metadata:
spec:
keep_after_delete: {{ (.Values.sso).keep_after_delete | default false }}
client_name: {{ $client.client_name }}
{{- if $client.client_base_url }}
client_base_url: {{ $client.client_base_url }}
{{- else }}
client_base_url: https://{{ include "app.baseDomain" $ }}
{{- end }}
{{- if $client.client_web_origins }}
client_web_origins:
{{- with $client.client_web_origins }}
{{ toYaml . | indent 4 }}
{{- end }}
{{- else }}
client_web_origins:
- https://{{ include "app.baseDomain" $ }}
{{- end }}
client_redirect_uris:
- https://{{ include "app.baseDomain" $ }}
- https://{{ include "app.baseDomain" $ }}/*
......@@ -20,10 +31,11 @@ spec:
{{ toYaml . | indent 4 }}
{{- end }}
{{- end }}
{{- if ((.Values.sso).keycloak_clients).client_roles }}
{{- if $client.client_roles }}
client_roles:
{{- with ((.Values.sso).keycloak_clients).client_roles }}
{{- with $client.client_roles }}
{{ toYaml . | indent 4 }}
{{- end }}
{{- end }}
{{ end }}
{{- end -}}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment