aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/log/charts/log-elasticsearch/templates/pv.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/log/charts/log-elasticsearch/templates/pv.yaml')
-rw-r--r--kubernetes/log/charts/log-elasticsearch/templates/pv.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/log/charts/log-elasticsearch/templates/pv.yaml b/kubernetes/log/charts/log-elasticsearch/templates/pv.yaml
index dba12d4125..31230a9ed7 100644
--- a/kubernetes/log/charts/log-elasticsearch/templates/pv.yaml
+++ b/kubernetes/log/charts/log-elasticsearch/templates/pv.yaml
@@ -17,5 +17,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 -}}