From 4dc42eef3e2d0d5fdf091f4836edfaae218e391e Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Tue, 9 Nov 2021 17:22:18 +0000 Subject: [PATCH] Revert "[COMMON] Changed mongo storage location to enable persistance" This reverts commit 0d9469d87c6173b20097499fea54013bd0f8169c. Reason for revert: it seems to not work in a lot of environments Issue-ID: OOM-2864 Change-Id: Ie7847f4522e3ac4ff7ef3e2de0021b7b2382aa33 Signed-off-by: Andreas Geissler Signed-off-by: Sylvain Desbureaux --- kubernetes/common/mongo/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/common/mongo/templates/statefulset.yaml b/kubernetes/common/mongo/templates/statefulset.yaml index 9f24493392..11602054e8 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: /data/db + mountPath: /var/lib/mongo resources: {{ include "common.resources" . | nindent 12 }} {{ include "common.containerSecurityContext" . | indent 10 }} {{- if .Values.nodeSelector }} -- 2.16.6