[SO] Use global storage templates for PVC 72/99272/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 6 Dec 2019 17:27:53 +0000 (18:27 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 6 Dec 2019 17:27:53 +0000 (18:27 +0100)
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: Ice44eda13aad44564d61f9e954cd11085a81d56f
Issue-ID: OOM-1227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>

No differences found