[MODELING] Refactor Modeling environment variables
[oom.git] / kubernetes / modeling / charts / modeling-etsicatalog / templates / deployment.yaml
index 014013a..52d675a 100644 (file)
@@ -82,12 +82,12 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           env:
-          - name: MSB_PROTO
-            value: "{{ .Values.config.msbProtocol }}"
+          - name: MSB_ADDR
+            value: "{{ .Values.config.msbProtocol }}://{{ .Values.config.msbServiceName }}:{{ .Values.config.msbPort }}"
           - name: SSL_ENABLED
             value: "{{ .Values.config.ssl_enabled }}"
-          - name: MSB_ADDR
-            value: "{{ .Values.config.msbServiceName }}:{{ .Values.config.msbPort }}"
+          - name: MSB_ENABLED
+            value: "{{ .Values.config.msb_enabled }}"
           - name: DB_IP
             value: "{{ include "common.mariadbService" . }}"
           - name: DB_PORT