airshipctl/krm-functions/applier
Ruslan Aliev 0401bd644c Allow to customize inventory policy for applier
Change-Id: I6943cddee52bcb605ce63adc21ce56f6afaadc5b
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-11-18 20:39:10 +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 Introduce KRM based k8s applier 2021-10-27 08:14:22 +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.