[Contrib] Use global storage templates for PVC 68/98968/5
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 29 Nov 2019 14:06:44 +0000 (15:06 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 6 Dec 2019 08:55:29 +0000 (09:55 +0100)
commit812199acf011cd76f147dfc09b79909d8c144162
treed9a94609520b4d5cbb56f2fbd53e2812decb9864
parent9b0adea0769b026875ee312d223960c559c700bb
[Contrib] 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: I278e62821ca98e41f63306e502cca1019ba18756
Issue-ID: OOM-1227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/contrib/charts/awx/charts/awx-postgres/templates/pv.yaml
kubernetes/contrib/charts/awx/charts/awx-postgres/templates/pvc.yaml
kubernetes/contrib/charts/awx/requirements.yaml
kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pv.yaml
kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml
kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/pv.yaml
kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/pvc.yaml