Add msb environment to oom 48/92648/3
authoryangyan <yangyanyj@chinamobile.com>
Mon, 5 Aug 2019 01:48:28 +0000 (09:48 +0800)
committeryangyan <yangyanyj@chinamobile.com>
Fri, 23 Aug 2019 00:38:07 +0000 (08:38 +0800)
Change-Id: I9c1321955c59b6f29c454aced0c00f713f5384ea
Issue-ID: VFC-1467
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml
kubernetes/vfc/values.yaml

index 217759e..9e3ea15 100644 (file)
@@ -76,6 +76,8 @@ spec:
               value: "{{ .Values.global.config.dbUser }}:{{ .Values.global.config.mariadbRootPassword }}"
             - name: REDIS_ADDR
               value: "{{ .Values.global.config.redisServiceName }}:{{ .Values.global.config.redisPort }}"
+            - name: REG_TO_MSB_WHEN_START
+              value: "{{ .Values.global.config.reg_to_msb_when_start }}"
           volumeMounts:
           - name: {{ include "common.fullname" . }}-localtime
             mountPath: /etc/localtime
index 7afa643..3030103 100644 (file)
@@ -22,6 +22,7 @@ global:
     mariadbRootPassword: secretpassword
     redisServiceName: vfc-redis
     redisPort: 6379
+    reg_to_msb_when_start: True
   persistence:
     mountPath: /dockerdata-nfs