aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-11-08 14:11:15 +0000
committerGerrit Code Review <gerrit@onap.org>2021-11-08 14:11:15 +0000
commita32efe9c0deb3202997c6a116b4cb940ba22eb01 (patch)
treea0d04cd84d1fbc1198c62968a536ddffbd552086 /kubernetes/common
parent3e3ae05ea1f29974f1ff76f9898d9041b0277d17 (diff)
parent0d9469d87c6173b20097499fea54013bd0f8169c (diff)
Merge "[COMMON] Changed mongo storage location to enable persistance"
Diffstat (limited to 'kubernetes/common')
-rw-r--r--kubernetes/common/mongo/templates/statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/mongo/templates/statefulset.yaml b/kubernetes/common/mongo/templates/statefulset.yaml
index 11602054e8..9f24493392 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: /var/lib/mongo
+ mountPath: /data/db
resources: {{ include "common.resources" . | nindent 12 }}
{{ include "common.containerSecurityContext" . | indent 10 }}
{{- if .Values.nodeSelector }}