diff options
author | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2022-09-23 18:54:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-09-23 18:54:14 +0000 |
commit | 54a46829db2c1119f3baa12de63f584d03aba8cd (patch) | |
tree | 262ad4004248193c0b2d2da4719d4df82968e881 /kubernetes/multicloud/components/multicloud-vio/templates/deployment.yaml | |
parent | e80759dab867db25cb72b750fe60484a28bed1d4 (diff) | |
parent | dfa23c83cc8630915824968ba7b043ef968e38b6 (diff) |
Merge "[MULTICLOUD] Service mesh compatibility"
Diffstat (limited to 'kubernetes/multicloud/components/multicloud-vio/templates/deployment.yaml')
-rw-r--r-- | kubernetes/multicloud/components/multicloud-vio/templates/deployment.yaml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kubernetes/multicloud/components/multicloud-vio/templates/deployment.yaml b/kubernetes/multicloud/components/multicloud-vio/templates/deployment.yaml index 1d27d6eb33..c5c368c8b5 100644 --- a/kubernetes/multicloud/components/multicloud-vio/templates/deployment.yaml +++ b/kubernetes/multicloud/components/multicloud-vio/templates/deployment.yaml @@ -41,14 +41,16 @@ spec: spec: containers: - env: + - name: MSB_PROTO + value: "{{ if (include "common.needTLS" .) }}https{{ else }}http{{ end }}" - name: MSB_ADDR - value: "{{ .Values.config.msbgateway }}" + value: "{{ .Values.config.msbgateway }}.{{ include "common.namespace" . }}" - name: MSB_PORT - value: "{{ .Values.config.msbPort }}.{{ include "common.namespace" . }}" + value: "{{- if (include "common.needTLS" .) }}{{ .Values.config.msbPort }}{{ else }}{{ .Values.config.msbPlainPort }}{{ end }}" - name: AAI_ADDR - value: aai.{{ include "common.namespace" . }} + value: "aai.{{ include "common.namespace" . }}" - name: AAI_PORT - value: "{{ .Values.config.aai.port }}" + value: "{{- if (include "common.needTLS" .) }}{{ .Values.config.aai.aaiPort }}{{ else }}{{ .Values.config.aai.aaiPlainPort }}{{ end }}" - name: AAI_SCHEMA_VERSION value: "{{ .Values.config.aai.schemaVersion }}" - name: AAI_USERNAME |