aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-08-05 09:48:28 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-08-23 08:38:07 +0800
commit4caac2460bcb09881550221f81ed6715e4afbec6 (patch)
treea1ea15a8164f80090bc26f878df88d18e7b38adb /kubernetes
parentebb90443aa1332a3161083c4d3f380858443fbdd (diff)
Add msb environment to oom
Change-Id: I9c1321955c59b6f29c454aced0c00f713f5384ea Issue-ID: VFC-1467 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml2
-rw-r--r--kubernetes/vfc/values.yaml1
2 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml
index 217759e6ab..9e3ea1513b 100644
--- a/kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml
+++ b/kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml
@@ -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
diff --git a/kubernetes/vfc/values.yaml b/kubernetes/vfc/values.yaml
index 7afa643e9f..303010389a 100644
--- a/kubernetes/vfc/values.yaml
+++ b/kubernetes/vfc/values.yaml
@@ -22,6 +22,7 @@ global:
mariadbRootPassword: secretpassword
redisServiceName: vfc-redis
redisPort: 6379
+ reg_to_msb_when_start: True
persistence:
mountPath: /dockerdata-nfs