kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Make `gcr.io/kpt-fn/kubeval` as a default validator

Open yuwenma opened this issue 3 years ago • 0 comments

We want to have kpt fn render automatically validate the users KRM resources (via kubeval ) at the end of all the mutator functions. This guarantees any resources the KRM functions modified are at least pass kubeval before they are saved. The downside is the additional overhead on running another function.

We should make the kubeval as a builtin function, so it should still be much faster than running the standalone gcr.io/kpt-fn/kubeval.

This is votes in kpt slack

yuwenma avatar Jul 28 '22 00:07 yuwenma