Revert "[COMMON] Changed mongo storage location to enable persistance" 36/125636/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 9 Nov 2021 17:22:18 +0000 (17:22 +0000)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 9 Nov 2021 17:22:18 +0000 (17:22 +0000)
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 <andreas-geissler@telekom.de>
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/common/mongo/templates/statefulset.yaml

index 9f24493..1160205 100644 (file)
@@ -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 }}