Merge "[COMMON] Changed mongo storage location to enable persistance"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 8 Nov 2021 14:11:15 +0000 (14:11 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 8 Nov 2021 14:11:15 +0000 (14:11 +0000)
kubernetes/common/mongo/templates/statefulset.yaml

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