airshipctl/krm-functions/kubeval-validator
Ruslan Aliev 8b405161fc Use quay.io/airshipit/golang images
Currently we use golang images from dockerhub, which sometimes
entail pull rate limit error.

Change-Id: Id8bca8c17c89556c8c424bbdaa4b11efe66d312c
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Closes: #635
2021-09-14 15:19:50 -05:00
..
certs Support proxy envs for kubeval-validator krm function 2021-05-21 15:53:55 -05:00
image Switching airshipctl and krm-functions to kustomize 4.2.0 2021-07-22 17:06:32 +00:00
local-resource Embed validation cfg into phase and plan definition 2021-06-11 15:37:38 +00:00
Dockerfile Use quay.io/airshipit/golang images 2021-09-14 15:19:50 -05:00
Makefile Move clustetctl to KRM 2021-07-17 22:06:43 -05:00
README.md Embed validation cfg into phase and plan definition 2021-06-11 15:37:38 +00:00

README.md

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.