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-nssmf-adapter/resources/config/overrides/override.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kubernetes/so/components/so-nssmf-adapter/resources') diff --git a/kubernetes/so/components/so-nssmf-adapter/resources/config/overrides/override.yaml b/kubernetes/so/components/so-nssmf-adapter/resources/config/overrides/override.yaml index 1d8a97c028..016b3f534f 100755 --- a/kubernetes/so/components/so-nssmf-adapter/resources/config/overrides/override.yaml +++ b/kubernetes/so/components/so-nssmf-adapter/resources/config/overrides/override.yaml @@ -18,7 +18,7 @@ aai: {{ 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 }} logging: path: logs @@ -44,6 +44,9 @@ spring: password: ${ACTUATOR_PASSWORD} role: ACTUATOR server: + {{- if include "common.onServiceMesh" . }} + forward-headers-strategy: none + {{- end }} port: {{ index .Values.containerPort }} tomcat: max-threads: 50 -- cgit 1.2.3-korg