Skip to content

Commit

Permalink
fix: keycloak login page and logout link (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisvankekem authored Jul 9, 2024
1 parent aad6d71 commit d2b9e49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
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

0 comments on commit d2b9e49

Please sign in to comment.