From 9e05b261195a99bcb6d6cd771a2b2d7e87a30dff Mon Sep 17 00:00:00 2001 From: yangyanyj Date: Fri, 1 Feb 2019 17:31:40 +0800 Subject: Add vfc catalog volumn Issue-ID: OOM-1623 Change-Id: Idd9ecfaa99a7e4e8b57e12a5c442a4a1a3c3a6a0 Signed-off-by: yangyanyj --- kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml') diff --git a/kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml index e33d749de6..fe2b1aa1df 100644 --- a/kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml +++ b/kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml @@ -73,6 +73,8 @@ spec: - name: MYSQL_ADDR value: "{{ .Values.global.config.dbServiceName }}:{{ .Values.global.config.dbPort }}" volumeMounts: + - name: {{ include "common.fullname" . }}-catalog + mountPath: /service/vfc/nfvo/catalog/static - name: {{ include "common.fullname" . }}-localtime mountPath: /etc/localtime readOnly: true @@ -106,6 +108,13 @@ spec: mountPath: /usr/share/filebeat/data volumes: + - name: {{ include "common.fullname" . }}-catalog + {{- if .Values.persistence.enabled }} + persistentVolumeClaim: + claimName: {{ include "common.fullname" . }} + {{- else }} + emptyDir: {} + {{- end }} - name: {{ include "common.fullname" . }}-localtime hostPath: path: /etc/localtime -- cgit 1.2.3-korg