From b3a380653c2b1604c6774aab561f20d471d574df Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Thu, 22 Sep 2022 13:40:07 +0200 Subject: [SO] Port corrections for SM compatibility AAI service port corrected to 80 and set the spring server forward-headers-strategy, as sidecars do not preserve the original sender URL and port. Issue-ID: OOM-2493 Signed-off-by: Andreas Geissler Change-Id: Ie08abce0b60301dd18261f12d8d848447d11d3e5 --- .../so-sdc-controller/resources/config/overrides/override.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kubernetes/so/components/so-sdc-controller') diff --git a/kubernetes/so/components/so-sdc-controller/resources/config/overrides/override.yaml b/kubernetes/so/components/so-sdc-controller/resources/config/overrides/override.yaml index ffa66e9d78..29a1cf7443 100755 --- a/kubernetes/so/components/so-sdc-controller/resources/config/overrides/override.yaml +++ b/kubernetes/so/components/so-sdc-controller/resources/config/overrides/override.yaml @@ -16,6 +16,9 @@ aai: auth: {{.Values.aai.auth}} server: + {{- if include "common.onServiceMesh" . }} + forward-headers-strategy: none + {{- end }} port: {{ index .Values.containerPort }} spring: datasource: @@ -66,7 +69,7 @@ mso: {{ if (include "common.needTLS" .) }} endpoint: https://aai.{{ include "common.namespace" . }}:8443 {{ else }} - endpoint: http://aai.{{ include "common.namespace" . }}:8080 + endpoint: http://aai.{{ include "common.namespace" . }}:80 {{ end }} asdc-connections: asdc-controller1: -- cgit 1.2.3-korg