summaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-04 16:28:28 +0800
committerAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-04-19 15:50:45 +0000
commite9871c59fce3da4f1a8f0e83fa1b4031f47fef43 (patch)
treed6add1dea70dc241feb1131a1383859b9ea0855e /kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml
parent70b07469dada287b97c41c4eda6c18f514a3f5a6 (diff)
Update vfc chart using OOM shared mariadb galera
Issue-ID: OOM-1776 Change-Id: I092815a6e5eebfe10cf213d995578238d73d0e48 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml')
-rw-r--r--kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml
index 9f9f1b3377..f2a8b055c0 100644
--- a/kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml
+++ b/kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml
@@ -72,6 +72,10 @@ spec:
value: "{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
- name: MYSQL_ADDR
value: "{{ .Values.global.config.dbServiceName }}:{{ .Values.global.config.dbPort }}"
+ - name: REDIS_ADDR
+ value: "{{ .Values.global.config.redisServiceName }}:{{ .Values.global.config.redisPort }}"
+ - name: MYSQL_AUTH
+ value: "{{ .Values.global.config.dbUser }}:{{ .Values.global.config.mariadbRootPassword }}"
volumeMounts:
- name: {{ include "common.fullname" . }}-localtime
mountPath: /etc/localtime