From: Sylvain Desbureaux Date: Mon, 8 Nov 2021 14:11:15 +0000 (+0000) Subject: Merge "[COMMON] Changed mongo storage location to enable persistance" X-Git-Tag: 9.0.0~30 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oom.git;a=commitdiff_plain;h=a32efe9c0deb3202997c6a116b4cb940ba22eb01;hp=3e3ae05ea1f29974f1ff76f9898d9041b0277d17 Merge "[COMMON] Changed mongo storage location to enable persistance" --- diff --git a/kubernetes/common/mongo/templates/statefulset.yaml b/kubernetes/common/mongo/templates/statefulset.yaml index 11602054e8..9f24493392 100644 --- a/kubernetes/common/mongo/templates/statefulset.yaml +++ b/kubernetes/common/mongo/templates/statefulset.yaml @@ -72,7 +72,7 @@ spec: periodSeconds: {{ .Values.readiness.periodSeconds }} volumeMounts: - name: {{ include "common.fullname" . }}-data - mountPath: /var/lib/mongo + mountPath: /data/db resources: {{ include "common.resources" . | nindent 12 }} {{ include "common.containerSecurityContext" . | indent 10 }} {{- if .Values.nodeSelector }}