Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use different level for skipped schemas #296

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jstrachan
Copy link

@jstrachan jstrachan commented May 10, 2021

lets not use the same warning level for skipped schemas as we do for actual validation errors

so that its easy to tell the output difference between actual schema validation errors versus CRD kinds that are skipped

e.g. you can easily grep the output for WARN versus INFO to see the difference between skipped kinds versus actual schema errors

lets not use the same warning level for skipped schemas as we do for actual validation errors

so that its easy to tell the output difference between actual schema validation errors versus CRD kinds that are skipped
so we can hide PASS/INFO level logs to just see the warnings only if you are validating lots of files
so that the real file name is used in error reporting
@clintmod
Copy link

clintmod commented Oct 9, 2021

@garethr

@uberspot
Copy link

+1 for this PR.
We'd also find it very useful for CI tests that use kubeval so developers can more easily find the errors.
Could this be megred?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants