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

Running with defaults results in error on the CI config itself #4

Open
MikaelElkiaer opened this issue May 20, 2020 · 2 comments
Open

Comments

@MikaelElkiaer
Copy link

Using the example configuration, using all defaults, yields the following error:

ERR - .github/workflows/ci.yml: Missing 'metadata' key

as kubeval attempts to validate the workflow itself.

@MikaelElkiaer
Copy link
Author

This could be fixed by #3

@MikaelElkiaer
Copy link
Author

MikaelElkiaer commented May 20, 2020

As a bonus, it seems like kubeval returns exit code 1 if there are warnings - such as schemas missing for CRDs.
This exit code is interpreted as error and therefore the step fails.

Edit: This works now, for some reason that I cannot figure out.

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

No branches or pull requests

1 participant