aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/log/templates
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2018-02-25 09:10:45 +0000
committerkerenj <keren.joseph@amdocs.com>2018-02-25 09:10:45 +0000
commit81c063dd27998e577fdbc0c65c55a61785532c50 (patch)
treef27e3c5efaa8b426c3407eb054c201a1ea4d7195 /kubernetes/log/templates
parentc3f901acd912026f602ebdcb66c83490f1a4cf05 (diff)
log persistence folder parametrization
Issue-ID: OOM-145 Change-Id: I27c98398b6304e17540f6c74afe4e1d811450683 Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/log/templates')
-rw-r--r--kubernetes/log/templates/elasticsearch-deployment.yaml2
-rw-r--r--kubernetes/log/templates/log-pv-pvc.yaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/log/templates/elasticsearch-deployment.yaml b/kubernetes/log/templates/elasticsearch-deployment.yaml
index bbf7260faa..85e57460bc 100644
--- a/kubernetes/log/templates/elasticsearch-deployment.yaml
+++ b/kubernetes/log/templates/elasticsearch-deployment.yaml
@@ -67,7 +67,7 @@ spec:
claimName: elasticsearch-db
- name: elasticsearch-logs
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/
+ path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/log/
- name: elasticsearch-conf
configMap:
name: elasticsearch-configmap
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 }}