diff options
author | 2022-09-22 13:40:07 +0200 | |
---|---|---|
committer | 2022-10-17 08:10:31 +0000 | |
commit | b3a380653c2b1604c6774aab561f20d471d574df (patch) | |
tree | ff37a428f1c7f741242b5ab71e9c0b5acf4bd0f7 /kubernetes/so/components/so-nssmf-adapter/resources | |
parent | 9a51e07a2164c9be42d9d329559f4d2081b8f3fc (diff) |
[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 <andreas-geissler@telekom.de>
Change-Id: Ie08abce0b60301dd18261f12d8d848447d11d3e5
Diffstat (limited to 'kubernetes/so/components/so-nssmf-adapter/resources')
-rwxr-xr-x | kubernetes/so/components/so-nssmf-adapter/resources/config/overrides/override.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
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 |