|
@@ -21,10 +21,9 @@ data:
|
|
|
{{- else }}
|
|
|
KEYCLOAK_PROXY_HEADERS: {{ .Values.proxyHeaders | quote }}
|
|
|
{{- end }}
|
|
|
- {{- if and .Values.adminIngress.enabled .Values.adminIngress.hostname (empty .Values.proxyHeaders) }}
|
|
|
+ {{- if and .Values.adminIngress.enabled .Values.adminIngress.hostname }}
|
|
|
KEYCLOAK_HOSTNAME_ADMIN: |-
|
|
|
- {{ ternary "https://" "http://" ( or .Values.adminIngress.tls (eq .Values.proxy "edge") ) -}}
|
|
|
- {{- include "common.tplvalues.render" (dict "value" .Values.adminIngress.hostname "context" $) -}}
|
|
|
+ {{ 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" $) -}}
|
|
|
{{- if eq .Values.adminIngress.controller "default" }}
|
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.adminIngress.path "context" $) }}
|
|
|
{{- else if eq .Values.adminIngress.controller "gce" }}
|
|
@@ -35,10 +34,9 @@ data:
|
|
|
{{- include "common.tplvalues.render" (dict "value" $path "context" $) }}
|
|
|
{{- end }}
|
|
|
{{- end }}
|
|
|
- {{- if and .Values.ingress.enabled .Values.ingress.hostname (empty .Values.proxyHeaders) }}
|
|
|
+ {{- if and .Values.ingress.enabled .Values.ingress.hostname }}
|
|
|
KEYCLOAK_HOSTNAME: |-
|
|
|
- {{ ternary "https://" "http://" ( or .Values.ingress.tls (eq .Values.proxy "edge") ) -}}
|
|
|
- {{- include "common.tplvalues.render" (dict "value" .Values.ingress.hostname "context" $) -}}
|
|
|
+ {{ 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" $) -}}
|
|
|
{{- if eq .Values.ingress.controller "default" }}
|
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.path "context" $) }}
|
|
|
{{- else if eq .Values.ingress.controller "gce" }}
|