Matthew Fuller 3fec6981f0 Define structural schema for VersionsCatalogue
Changes the versions catalogue from a VariableCatalogue
to a structural schema VersionsCatalogue CRD.

Relates-To: #363
Change-Id: I445111356662ab33d9337ddd1537885d5afd094f
2021-02-24 18:00:28 +00:00
..

Function: k8scontrol

This function defines a base Clusterctl config that includes a collection of available CAPI providers (under providers) which are supported by airshipctl. It also provides a selection of those for a default Metal3 deployment (under init-options). The selected init-options may be patched/overridden at the Type level, etc.

This function relies on CAPI variable substitution to supply versioned container images to the CAPI components. The Clusterctl objects supplies defaults, and these can (optionally) be overridden either by simple Kustomize patching, or by applying the replacements kustomization as a Kustomize transformer. In the latter case, an airshipctl versions catalogue must be supplied; please see the airshipctl-base-catalogues function for a base/example.