aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/log/templates/log-pv-pvc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/log/templates/log-pv-pvc.yaml')
-rw-r--r--kubernetes/log/templates/log-pv-pvc.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/log/templates/log-pv-pvc.yaml b/kubernetes/log/templates/log-pv-pvc.yaml
index 4f244718d0..a5e5ff76e1 100644
--- a/kubernetes/log/templates/log-pv-pvc.yaml
+++ b/kubernetes/log/templates/log-pv-pvc.yaml
@@ -13,7 +13,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/elasticsearch/data
+ path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/log/elasticsearch/data
---
kind: PersistentVolumeClaim
apiVersion: v1
@@ -29,4 +29,4 @@ spec:
selector:
matchLabels:
name: elasticsearch-db
-#{{ end }} \ No newline at end of file
+#{{ end }}