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 <andreas-geissler@telekom.de>
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
diff --git a/kubernetes/common/mongo/templates/statefulset.yaml b/kubernetes/common/mongo/templates/statefulset.yaml
index 9f24493..1160205 100644
--- a/kubernetes/common/mongo/templates/statefulset.yaml
+++ b/kubernetes/common/mongo/templates/statefulset.yaml
@@ -72,7 +72,7 @@
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 }}