Ruslan Aliev 356b04c0d4 Support proxy envs for kubeval-validator krm function
This patch will inject custom root certificate authorities if needed.

Change-Id: I00199606b0353f674d61773bf3215fa46109d9c6
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-05-21 15:53:55 -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 Config struct definition in main.go for documentation.

Function invocation

The function by running validate command via airshipctl:

airshipctl phase validate <phase_name>

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