Ruslan Aliev 136aa06117 Improve memory performance of clusterctl KRM
Switching components type from []byte to string significantly
improves memory effiency of config function.

Change-Id: I81ddf469bf5abd214ff3785915d82ab494af6268
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-10-13 13:26:24 -05:00
..
2021-07-17 22:06:43 -05:00
2021-07-17 22:06:43 -05:00
2021-10-05 12:49:05 -05:00
2021-07-17 22:06:43 -05:00
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.