diff --git a/src/main/charts/bamboo/templates/configmap-server-config.yaml b/src/main/charts/bamboo/templates/configmap-server-config.yaml index d04958d1b..baec8109d 100644 --- a/src/main/charts/bamboo/templates/configmap-server-config.yaml +++ b/src/main/charts/bamboo/templates/configmap-server-config.yaml @@ -34,8 +34,8 @@ data: acceptCount="{{ .Values.bamboo.tomcatConfig.acceptCount | default "10" }}" secure="{{ default (ternary "true" "false" .Values.ingress.https) .Values.bamboo.tomcatConfig.secure }}" scheme="{{ default (ternary "https" "http" .Values.ingress.https) .Values.bamboo.tomcatConfig.scheme }}" - proxyName="{{ .Values.ingress.host | default .Values.bamboo.tomcatConfig.proxyName }}" - proxyPort="{{ default (ternary "443" "80" .Values.ingress.https) .Values.bamboo.tomcatConfig.proxyPort }}" + proxyName="{{ .Values.bamboo.tomcatConfig.proxyName | default .Values.ingress.host }}" + proxyPort="{{ .Values.bamboo.tomcatConfig.proxyPort | default (ternary "443" "80" .Values.ingress.https) }}" {{- if .Values.bamboo.tomcatConfig.address }} address="{{ .Values.bamboo.tomcatConfig.address }}" @@ -192,7 +192,7 @@ data: cookie.encoding BAM - + autologin.cookie.age {{ .Values.bamboo.seraphConfig.autoLoginCookieAge | default "1209600" }} diff --git a/src/main/charts/confluence/templates/configmap-server-config.yaml b/src/main/charts/confluence/templates/configmap-server-config.yaml index 4768dae9f..c91e02426 100644 --- a/src/main/charts/confluence/templates/configmap-server-config.yaml +++ b/src/main/charts/confluence/templates/configmap-server-config.yaml @@ -27,8 +27,8 @@ data: URIEncoding="{{ .Values.confluence.tomcatConfig.uriEncoding | default "UTF-8" }}" secure="{{ default (ternary "true" "false" .Values.ingress.https) .Values.confluence.tomcatConfig.secure }}" scheme="{{ default (ternary "https" "http" .Values.ingress.https) .Values.confluence.tomcatConfig.scheme }}" - proxyName="{{ .Values.ingress.host | default .Values.confluence.tomcatConfig.proxyName }}" - proxyPort="{{ default (ternary "443" "80" .Values.ingress.https) .Values.confluence.tomcatConfig.proxyPort }}" + proxyName="{{ .Values.confluence.tomcatConfig.proxyName | default .Values.ingress.host }}" + proxyPort="{{ .Values.confluence.tomcatConfig.proxyPort | default (ternary "443" "80" .Values.ingress.https) }}" maxHttpHeaderSize="{{ .Values.confluence.tomcatConfig.maxHttpHeaderSize | default "8192" }}" />