yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableLogElasticsearch }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: PersistentVolume |
| 4 | metadata: |
| 5 | name: elasticsearch-db |
| 6 | namespace: "{{ .Values.nsPrefix }}-log" |
| 7 | labels: |
| 8 | name: elasticsearch-db |
| 9 | spec: |
| 10 | capacity: |
| 11 | storage: 2Gi |
| 12 | accessModes: |
| 13 | - ReadWriteMany |
| 14 | persistentVolumeReclaimPolicy: Retain |
| 15 | hostPath: |
itay | 2002578 | 2017-09-14 19:02:45 +0300 | [diff] [blame] | 16 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/elasticsearch/data |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 17 | --- |
| 18 | kind: PersistentVolumeClaim |
| 19 | apiVersion: v1 |
| 20 | metadata: |
| 21 | name: elasticsearch-db |
| 22 | namespace: "{{ .Values.nsPrefix }}-log" |
| 23 | spec: |
| 24 | accessModes: |
| 25 | - ReadWriteMany |
| 26 | resources: |
| 27 | requests: |
| 28 | storage: 2Gi |
| 29 | selector: |
| 30 | matchLabels: |
| 31 | name: elasticsearch-db |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 32 | #{{ end }} |