[Multicloud] Use global storage templates for PVC 28/99328/2
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 9 Dec 2019 10:43:47 +0000 (11:43 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 9 Dec 2019 12:11:43 +0000 (13:11 +0100)
commita1f93014d079919c82738157bf539a5d7b91274a
tree77cec7239d16e399741c51487cb4d75722e28ce4
parent72c71c0b832a169c03bcdbaa5997956e30f62c7c
[Multicloud] 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: I8ed04b153aec0b81971a7a1eb97737d905ea4c5c
Issue-ID: OOM-1227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/multicloud/charts/multicloud-prometheus/charts/prometheus-alertmanager/templates/pv.yaml
kubernetes/multicloud/charts/multicloud-prometheus/charts/prometheus-alertmanager/templates/pvc.yaml
kubernetes/multicloud/charts/multicloud-prometheus/charts/prometheus-grafana/templates/pv.yaml
kubernetes/multicloud/charts/multicloud-prometheus/charts/prometheus-grafana/templates/pvc.yaml
kubernetes/multicloud/charts/multicloud-prometheus/templates/pv.yaml
kubernetes/multicloud/charts/multicloud-prometheus/templates/pvc.yaml
kubernetes/multicloud/charts/multicloud-windriver/templates/pv.yaml
kubernetes/multicloud/charts/multicloud-windriver/templates/pvc.yaml
kubernetes/multicloud/values.yaml