Merge "Revert "[COMMON] Changed mongo storage location to enable persistance""
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 10 Nov 2021 19:59:02 +0000 (19:59 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 10 Nov 2021 19:59:02 +0000 (19:59 +0000)
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 }}