[Modeling] Use global storage templates for PVC 19/99319/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 9 Dec 2019 09:43:54 +0000 (10:43 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 9 Dec 2019 09:43:54 +0000 (10:43 +0100)
commit09b40ae930ae269f8c8523512f272ce985238c20
tree844b3603522c968932f0738dd8dbee546eb6b5cf
parent72c71c0b832a169c03bcdbaa5997956e30f62c7c
[Modeling] 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: I337e760ea71ec57c4f593e068c3cf6ea548a3cfc
Issue-ID: OOM-1227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/modeling/charts/modeling-etsicatalog/templates/pv.yaml
kubernetes/modeling/charts/modeling-etsicatalog/templates/pvc.yaml