-
Bug
-
Resolution: Done
-
Medium
-
Beijing Release
-
None
-
None
-
OOM Sprint 10 - Integration
In order to provide the ability to deploy same chart with different names and keep the persisted files, need to make all PVs map to the same location that includes helm Release.Name
hostPath:
path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}
instead of:
hostPath:
path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Namespace }}/{{ .Values.persistence.mountSubPath }}
As a result under /dockerdata-nfs there is directory with helm release name instead of namespace.