f15e7e5e41
This extracts the container, disk image, and Kubernetes versions that are defined in airshipctl functions, into an `versions-airshipctl` catalogue in the `airshipctl-catalogues` function. The default version values have been left in-place in their resources as well, and will be used if the user decides not to apply the catalogue via a transformer at the site level (it's not currently required to actually use the catalogue or associate replacment rules). Please see the READMEs in this change for more information. Note: replacement of CAPI component container versions must be done through a slightly different mechanism and will be in a follow-on changeset. Note that this also incorporates a fix to pin the Ironic images, which are currently not compatible at the :latest tag. Co-Authored-By: Alexander Noskov <anoskov@mirantis.com> Change-Id: Iafe1d185a7e7d3932576055eda819d2270b02482 Relates-To: https://github.com/airshipit/airshipctl/issues/316
13 lines
534 B
Markdown
13 lines
534 B
Markdown
Function: k8scontrol
|
|
====================
|
|
|
|
This function defines a KubeADM and Metal3 control plane, including
|
|
Cluster, Metal3Cluster, KubeadmControlPlane, and Metal3MachineTemplate
|
|
resources.
|
|
|
|
Optional: a ``versions-airshipctl`` VariableCatalogue may be used to
|
|
override the default Kubernetes version and controlplane disk image.
|
|
A base example for this catalogue can be found in the ``airshipctl-catalogues``
|
|
function. If using the catalogue, apply the ``replacements/`` entrypoint
|
|
at the site level, as a Kubernetes transformer.
|