airshipctl/krm-functions/kubeconfig-manager/README.md

689 B

Kubeconfig Manager

This is a KRM function which retrieves and modifies kubeconfig based on appropriate options.

Function implementation

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

Function configuration

As input options, the KRM function receives a struct with options how to get or modify kubeconfig. See the KubeconfigOptions 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 a phase has GenericContainer executor defined along with KubeconfigOptions.