[LOG] Use global storage templates for PVC 15/99215/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 5 Dec 2019 15:34:49 +0000 (16:34 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 5 Dec 2019 15:34:49 +0000 (16:34 +0100)
commit7d2508813ec713a23131799e5258187fe8efbb60
treef2bda442bf0c764a0ff2a3e91edf29353e8a02ad
parente21978408ab1bee4c571bbb6cc58904d3ee36472
[LOG] Use global storage templates for PVC

OOM has now templates in order to create the needed PVC, using:

* a PV with a specific class when using a common nfs mount path between
nodes (sames as today use) --> is the default behavior today
* or a storage class if we want to use dynamic PV.
  On this case, we use (in order of priority):
  - persistence.storageClassOverride if set on the chart
  - global.persistence.storageClass if set globally
  - persistence.storageClass if set on the chart

Change-Id: I1f39f2c8c9a2d4fe1303fffbefe4dac70ed0e860
Issue-ID: OOM-1227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/log/charts/log-elasticsearch/templates/pv.yaml
kubernetes/log/charts/log-elasticsearch/templates/pvc.yaml