airshipctl/krm-functions/clusterctl
Ruslan Aliev 8b405161fc Use quay.io/airshipit/golang images
Currently we use golang images from dockerhub, which sometimes
entail pull rate limit error.

Change-Id: Id8bca8c17c89556c8c424bbdaa4b11efe66d312c
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Closes: #635
2021-09-14 15:19:50 -05:00
..
certs Move clustetctl to KRM 2021-07-17 22:06:43 -05:00
image Switching airshipctl and krm-functions to kustomize 4.2.0 2021-07-22 17:06:32 +00:00
local-resource Move clustetctl to KRM 2021-07-17 22:06:43 -05:00
Dockerfile Use quay.io/airshipit/golang images 2021-09-14 15:19:50 -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.