Open j-zimnowoda opened 3 years ago
I agree that the behaviour between warnings is inconsistent, some cause an exit code of 0 some not. I agree with you - I think most warnings should just be reported as errors and cause a return code >0.
bumping this as it would be nice to get a report as to which caused the exitcode != 0
Hi,
I am having a warning that causes Kubeval to exit with non-zero status .
After fixing it everything works fine - other warnings do not cause the kubeval failure.
In my opinion this is issue shouldn't be reported as
WARN
but asERR
.Here is how I am running it:
and versions: