From 56857c4646ffc7d77b7a5908d4c9e18b9206a7dd Mon Sep 17 00:00:00 2001 From: BorislavG Date: Thu, 3 May 2018 14:29:51 +0000 Subject: Fix persistent volume to be mapped to Release.Name Change-Id: I98754174e50537df2e82a9d9b40f471edff19e69 Issue-ID: OOM-907 Signed-off-by: BorislavG --- kubernetes/message-router/charts/zookeeper/templates/pv.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/message-router/charts/zookeeper/templates/pv.yaml') diff --git a/kubernetes/message-router/charts/zookeeper/templates/pv.yaml b/kubernetes/message-router/charts/zookeeper/templates/pv.yaml index 8be3d4c9cb..da117f4919 100644 --- a/kubernetes/message-router/charts/zookeeper/templates/pv.yaml +++ b/kubernetes/message-router/charts/zookeeper/templates/pv.yaml @@ -33,5 +33,5 @@ spec: - {{ .Values.persistence.accessMode }} persistentVolumeReclaimPolicy: {{ .Values.persistence.volumeReclaimPolicy }} hostPath: - path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Namespace }}/{{ .Values.persistence.mountSubPath }} + path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }} {{- end -}} -- cgit 1.2.3-korg