Sirajudeen 196150649a Prepare gate to remove airshipctl import
* Inject target-cluster-ca as sceret
* Create kubeconfig using gate scripts with both ephemeral and
  target clusters.
* With both contexts predefined in kubeconfig,
  just switch/use context in gate scripts as required.
* Removed the use of airshipctl import from gate script

Change-Id: I5a9a56db71f0a80d9b35144eacbdd980c13c9ffb
Relates-To: #329
Closes: #329
2020-09-15 15:22:27 -05:00
..

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.