diff options
author | dengyh <dengyuanhong@chinamobile.com> | 2020-10-26 15:23:42 +0800 |
---|---|---|
committer | dengyh <dengyuanhong@chinamobile.com> | 2020-10-26 15:23:54 +0800 |
commit | d64fec43a8613d62c235a80a4a920e2fff73610e (patch) | |
tree | ed834ab60d05b1d6f2b29f0657a0d35d365c2313 /kubernetes/modeling/charts/modeling-etsicatalog/templates | |
parent | 951290ba262db65ac7f6cdfb659987cb394916ee (diff) |
[MODELING]Add environment variables in OOM chart
Issue-ID: MODELING-441
Change-Id: Ibcabdb9db6f9d0695f2c338a9f7d52b42f6d0723
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'kubernetes/modeling/charts/modeling-etsicatalog/templates')
-rw-r--r-- | kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml b/kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml index bdcd0501ef..347d79401a 100644 --- a/kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml +++ b/kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml @@ -84,12 +84,18 @@ spec: initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} env: - - name: MSB_ADDR - value: "{{ .Values.config.msbProtocol }}://{{ .Values.config.msbServiceName }}:{{ .Values.config.msbPort }}" - name: SSL_ENABLED value: "{{ .Values.config.ssl_enabled }}" - name: MSB_ENABLED value: "{{ .Values.config.msb_enabled }}" + - name: MSB_ADDR + value: "{{ .Values.config.msbProtocol }}://{{ .Values.config.msbServiceName }}:{{ .Values.config.msbPort }}" + - name: SDC_ADDR + value: "{{ .Values.config.sdcProtocol }}://{{ .Values.config.sdcServiceName }}:{{ .Values.config.sdcPort }}" + - name: DMAAP_ENABLED + value: "{{ .Values.config.dmaap_enabled }}" + - name: DMAAP_ADDR + value: "{{ .Values.config.dmaapProtocol }}://{{ .Values.config.dmaapServiceName }}:{{ .Values.config.dmaapPort }}" - name: DB_IP value: "{{ include "common.mariadbService" . }}" - name: DB_PORT |