Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: keycloak styling and logout #1644

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/team-ns/templates/istio-virtualservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
prefix: /logout-otomi
redirect:
authority: auth.{{ $v.cluster.domainSuffix }}
uri: /oauth2/sign_out?rd={{ $kkMaster }}/protocol/openid-connect/logout?redirect_uri=https://{{ printf "otomi.%s" $v.cluster.domainSuffix }}
uri: /oauth2/sign_out?rd={{ $kkMaster }}/protocol/openid-connect/logout?redirect_uri=https://{{ printf "console.%s" $v.cluster.domainSuffix }}
-
{{- with $s.paths | default (list "/") }}
match:
Expand Down
5 changes: 2 additions & 3 deletions values/keycloak-operator/keycloak-operator-cr.gotmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- $pinnedConsoleVersion := "v1.4.0" }}
{{- $v := .Values }}
{{- $k := $v | get "apps.keycloak" }}

Expand Down Expand Up @@ -31,7 +30,7 @@ spec:
ingress:
enabled: false
hostname:
hostname: keycloak.{{ .Values.cluster.domainSuffix }}
hostname: keycloak.{{ $v.cluster.domainSuffix }}
strict: false
strictBackchannel: false
unsupported:
Expand All @@ -51,7 +50,7 @@ spec:
emptyDir: {}
initContainers:
- name: init-container-theme-copy # Otomi branding init container
image: docker.io/otomi/console:{{ $pinnedConsoleVersion }}
image: docker.io/otomi/console:{{ $v.versions.console }}
resources: {{ $k.resources.keycloak | toYaml | nindent 12 }}
command:
- sh
Expand Down