[CDS] Use global storage templates for PVC 64/98964/2
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 29 Nov 2019 08:25:04 +0000 (09:25 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 29 Nov 2019 12:14:48 +0000 (13:14 +0100)
commitf8e163f50771a4681217614ad538ee13280f006b
tree436eb4179514f297c39a09bc6283e26f96d2e1cc
parent9b0adea0769b026875ee312d223960c559c700bb
[CDS] 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: I9ffc9f121fb68993dd7bf96d4909913c3aaa09c3
Issue-ID: OOM-1227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/cds/charts/cds-blueprints-processor/templates/pv.yaml
kubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml