diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-02-25 09:45:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-25 09:45:59 +0000 |
commit | 89f26d8930e5f1074d0819f0df7e292243e72463 (patch) | |
tree | ac27b234219e7b2f369cb62fb8c863ef0b5a1df0 /kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml | |
parent | a786ac5c071fe3733075d92fc6b31c66905d6d4e (diff) | |
parent | 9e05b261195a99bcb6d6cd771a2b2d7e87a30dff (diff) |
Merge "Add vfc catalog volumn"
Diffstat (limited to 'kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml')
-rw-r--r-- | kubernetes/vfc/charts/vfc-catalog/templates/deployment.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
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 |