diff options
author | Bin Yang <bin.yang@windriver.com> | 2020-01-23 02:46:07 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2020-02-03 18:25:19 +0800 |
commit | 2e5ecc3ab726dc062623aac8d21aa7c79f08cfc6 (patch) | |
tree | 946f4f3f1446b640c36996bfabc565aafcf4f171 /kubernetes/multicloud/templates/deployment.yaml | |
parent | d9a7efecd6b1960048911a2aadee3c6b8ec4ecc8 (diff) |
Expose multicloud endpoints in https
Make use of msb iag with https as well
Change-Id: I46320cb7a3012320091b8b802ed8531285b78b45
Issue-ID: MULTICLOUD-978
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'kubernetes/multicloud/templates/deployment.yaml')
-rw-r--r-- | kubernetes/multicloud/templates/deployment.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/multicloud/templates/deployment.yaml b/kubernetes/multicloud/templates/deployment.yaml index c3e6e5142e..5f645d4f4c 100644 --- a/kubernetes/multicloud/templates/deployment.yaml +++ b/kubernetes/multicloud/templates/deployment.yaml @@ -39,6 +39,8 @@ spec: spec: containers: - env: + - name: MSB_PROTO + value: {{ .Values.config.msbprotocol }}.{{ include "common.namespace" . }} - name: MSB_ADDR value: {{ .Values.config.msbgateway }}.{{ include "common.namespace" . }} - name: MSB_PORT @@ -53,6 +55,8 @@ spec: value: "{{ .Values.config.aai.username }}" - name: AAI_PASSWORD value: "{{ .Values.config.aai.password }}" + - name: SSL_ENABLED + value: "{{ .Values.config.ssl_enabled }}" resources: {{ include "common.resources" . | indent 12 }} image: "{{ include "common.repository" . }}/{{ .Values.image }}" @@ -76,7 +80,7 @@ spec: httpGet: path: /api/multicloud/v0/swagger.json port: {{ .Values.service.internalPort }} - scheme: HTTP + scheme: HTTPS initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} |