diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2022-09-22 13:40:07 +0200 |
---|---|---|
committer | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2022-10-17 08:10:31 +0000 |
commit | b3a380653c2b1604c6774aab561f20d471d574df (patch) | |
tree | ff37a428f1c7f741242b5ab71e9c0b5acf4bd0f7 /kubernetes/so/components/so-sdc-controller | |
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-sdc-controller')
-rwxr-xr-x | kubernetes/so/components/so-sdc-controller/resources/config/overrides/override.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
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: |