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

configuration file with wrong ident for readinessProbe recognized as valid for deployment #309

Open
az-esm opened this issue Aug 17, 2021 · 1 comment

Comments

@az-esm
Copy link

az-esm commented Aug 17, 2021

in my case the readinessProbe was badly intended for 1 tab more
that cause to deployment to fail.
but kubeval mark the file as valid
image

image

@az-esm az-esm changed the title Invalid filed recognized as valid for deployment configuration file with wrong ident for readinessProbe recognized as valid for deployment Aug 17, 2021
@yannh
Copy link

yannh commented Aug 17, 2021

Hi @az-esm , be sure to run kubeval with --strict : it should fail on this since they should detect an "unknown property". Can you confirm you run using --strict? Thanks!

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

2 participants