Skip to content
Snippets Groups Projects
Commit 6ac502fa authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4939 Modified keycloak helm template to match alfa

parent f40a611f
No related branches found
No related tags found
No related merge requests found
{{- if not (.Values.sso).disableOzgOperator -}} {{- if not (.Values.sso).disableOzgOperator -}}
{{ range $client := (.Values.sso).keycloak_clients }}
---
apiVersion: operator.ozgcloud.de/v1 apiVersion: operator.ozgcloud.de/v1
kind: OzgCloudKeycloakClient kind: OzgCloudKeycloakClient
metadata: metadata:
...@@ -6,15 +8,15 @@ metadata: ...@@ -6,15 +8,15 @@ metadata:
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
spec: spec:
keep_after_delete: {{ (.Values.sso).keep_after_delete | default false }} keep_after_delete: {{ (.Values.sso).keep_after_delete | default false }}
client_name: admin client_name: {{ $client.client_name }}
client_base_url: https://{{ include "app.baseDomain" $ }} client_base_url: https://{{ include "app.baseDomain" $ }}
client_web_origins: client_web_origins:
- https://{{ include "app.baseDomain" $ }} - https://{{ include "app.baseDomain" $ }}
client_redirect_uris: client_redirect_uris:
- https://{{ include "app.baseDomain" $ }} - https://{{ include "app.baseDomain" $ }}
- https://{{ include "app.baseDomain" $ }}/* - https://{{ include "app.baseDomain" $ }}/*
{{- if ((.Values.sso).keycloak_clients).additional_redirect_uris }} {{- if $client.additional_redirect_uris }}
{{- with ((.Values.sso).keycloak_clients).additional_redirect_uris }} {{- with $client.additional_redirect_uris }}
{{ toYaml . | indent 4 }} {{ toYaml . | indent 4 }}
{{- end }} {{- end }}
{{- end }} {{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment