blob: a5e5ff76e14c4259b969edff3e5a4bcab9dfacc3 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableLogElasticsearch }}
Itay Hasside2da86d2017-08-24 12:54:42 +00002apiVersion: v1
3kind: PersistentVolume
4metadata:
5 name: elasticsearch-db
6 namespace: "{{ .Values.nsPrefix }}-log"
7 labels:
8 name: elasticsearch-db
9spec:
10 capacity:
11 storage: 2Gi
12 accessModes:
13 - ReadWriteMany
14 persistentVolumeReclaimPolicy: Retain
15 hostPath:
kerenj81c063d2018-02-25 09:10:45 +000016 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/log/elasticsearch/data
Itay Hasside2da86d2017-08-24 12:54:42 +000017---
18kind: PersistentVolumeClaim
19apiVersion: v1
20metadata:
21 name: elasticsearch-db
22 namespace: "{{ .Values.nsPrefix }}-log"
23spec:
24 accessModes:
25 - ReadWriteMany
26 resources:
27 requests:
28 storage: 2Gi
29 selector:
30 matchLabels:
31 name: elasticsearch-db
kerenj81c063d2018-02-25 09:10:45 +000032#{{ end }}