Ruslan Aliev eac44cd901 Remove Makefiles in krm functions
These Makefiles actually are not used in image build process,
all the appropriate logic contained in the main Makefile.

Change-Id: Ic915b320997d055ba224f03b308b672fcf115038
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-10-05 12:58:06 -05:00
..
2021-09-14 15:19:50 -05:00

Validation

This is a KRM function which implementing a validation function against kubeval.

Function implementation

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

Function configuration

A number of settings can be modified for kubeval in the struct Spec. See the Spec struct definition in main.go for the documentation.

Function invocation

The function invokes by running validate command via airshipctl:

airshipctl plan validate <plan_name>
airshipctl phase validate <phase_name>

This exists non-zero if kubeval detects an invalid Resource.