airshipctl/krm-functions/applier
Ruslan Aliev 4e39a436da Speed-up building applier and clusterctl images
Use caching to download go modules.

Change-Id: I9fa7d19f9daaa73675dfb8c59ffed0ad08638631
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-12-16 01:50:24 +00:00
..
certs Introduce KRM based k8s applier 2021-10-27 08:14:22 +00:00
image Allow to customize inventory policy for applier 2021-11-18 20:39:10 +00:00
local-resource Introduce KRM based k8s applier 2021-10-27 08:14:22 +00:00
Dockerfile Speed-up building applier and clusterctl images 2021-12-16 01:50:24 +00:00
README.md Introduce KRM based k8s applier 2021-10-27 08:14:22 +00:00

Applier

This is a KRM function which applies resources to k8s using cli-utils with appropriate options.

Function implementation

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

Function configuration

As input options, the KRM function receives a struct with apply options. See the ApplyConfig struct definition in v1alpha1 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 k8s_apply executor defined.