[CLAMP] Use global storage templates for PVC 70/99270/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 6 Dec 2019 17:21:33 +0000 (18:21 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 6 Dec 2019 17:21:33 +0000 (18:21 +0100)
commit3a9a9788bad00f13fc17056a456ef0cbe9a5d7a4
treecf8a46ef4203a31db7ff0ee4b58470f3c7329492
parent72c71c0b832a169c03bcdbaa5997956e30f62c7c
[CLAMP] 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: I2cc90fe7a22a04d47d406b854c3a75502e539a25
Issue-ID: OOM-1227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/clamp/charts/clamp-dash-es/templates/pv.yaml
kubernetes/clamp/charts/clamp-dash-es/templates/pvc.yaml
kubernetes/clamp/charts/mariadb/templates/pv.yaml
kubernetes/clamp/charts/mariadb/templates/pvc.yaml