Skip to content

Commit

Permalink
[bitnami/keycloak] use hostname v2 options
Browse files Browse the repository at this point in the history
Signed-off-by: Baljit Singh <baljit.singh@verizon.com>
  • Loading branch information
singhbaljit committed Jul 31, 2024
1 parent bcf704a commit b523237
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bitnami/keycloak/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ spec:
value: {{ .Values.extraStartupArgs | quote }}
{{- end }}
{{- if and .Values.adminIngress.enabled .Values.adminIngress.hostname }}
- name: KC_HOSTNAME_ADMIN_URL
- name: KEYCLOAK_HOSTNAME_ADMIN
value: |-
{{ ternary "https://" "http://" ( or .Values.adminIngress.tls (eq .Values.proxy "edge") (not (empty .Values.proxyHeaders)) ) -}}
{{- include "common.tplvalues.render" (dict "value" .Values.adminIngress.hostname "context" $) -}}
Expand All @@ -231,7 +231,9 @@ spec:
{{- end }}
{{- end }}
{{- if and .Values.ingress.enabled .Values.ingress.hostname }}
- name: KC_HOSTNAME_URL
- name: KEYCLOAK_HOSTNAME_STRICT
value: "true"
- name: KEYCLOAK_HOSTNAME
value: |-
{{ ternary "https://" "http://" ( or .Values.ingress.tls (eq .Values.proxy "edge") (not (empty .Values.proxyHeaders)) ) -}}
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.hostname "context" $) -}}
Expand Down

0 comments on commit b523237

Please sign in to comment.