Skip to content

Commit

Permalink
[keycloak] fix http port in case of reencrypt and passthrough
Browse files Browse the repository at this point in the history
Signed-off-by: GIRAUD Charles-Eric <charles-eric.giraud@soprasteria.com>
  • Loading branch information
cegiraud authored and Mirco Hacker committed Sep 24, 2021
1 parent e2cad2b commit 8f49aec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/keycloak/templates/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ spec:
{{- end }}
path: {{ $route.path }}
port:
{{- if or (not $route.tls.enabled) (eq $route.tls.termination "edge") }}
targetPort: http
{{- else}}
targetPort: https
{{- end}}
to:
kind: Service
name: {{ include "keycloak.fullname" $ }}-http
Expand Down

0 comments on commit 8f49aec

Please sign in to comment.