airshipctl/krm-functions/clusterctl
SirishaGopigiri ad555d4d24 Integrate capi v0.4.2 and capm3 v0.5.0
The below manifest changes integrates capi v0.4.2 with capm3
v0.5.0 version. It changes the required manifests files
in the airshipctl. It upgrades capi to v1alpha4 and capm3 to
v1alpha5.

Closes: #518 #560
Change-Id: Ia9ea82ad8052e55f0e70f1038497a919ac7b9270
2021-10-13 13:30:52 -05:00
..
certs Move clustetctl to KRM 2021-07-17 22:06:43 -05:00
image Improve memory performance of clusterctl KRM 2021-10-13 13:26:24 -05:00
local-resource Move clustetctl to KRM 2021-07-17 22:06:43 -05:00
Dockerfile Integrate capi v0.4.2 and capm3 v0.5.0 2021-10-13 13:30:52 -05:00
Makefile Move clustetctl to KRM 2021-07-17 22:06:43 -05:00
README.md Move clustetctl to KRM 2021-07-17 22:06:43 -05:00

Clusterctl

This is a KRM function which invokes clusterctl with appropriate action and options.

Function implementation

The function is implemented as an image, and built using make docker-image-clusterctl.

Function configuration

As input options, the KRM function receives a struct with command line options, configuration data and repo components which is defined in airshipctl. See the ClusterctlOptions struct definition in v1alpha airshipctl API for the documentation.

Function invocation

The function invoked by airshipctl command via airshipctl phase run:

airshipctl phase run <phase_name>

if appropriate phase has Clusterctl executor defined.