-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
skaffold says all is well even when there were validation errors #1738
Comments
Thanks @andsens for this bug report. Just to confirm, |
The log is from the manifest in the gist, which only contains the one resource. I haven't actually checked what happens when the manifests partially validate. Let me check on Friday and I'll report back. |
no problem! |
@tejal29 no other resources seem to deploy. I tested by adding this pod.yaml
I tried adding When removing |
Thanks @andsens. Someone from the team will pick it up once triaged. |
closed via #2076 |
Awesome stuff. Thanks @pyaillet! |
While examining the error from #1737 I noticed that skaffold said all was fine and that the deployment completed, even though the manifest failed to validate.
Expected behavior
skaffold returns with a non-zero exit code when manifest validation fails.
Actual behavior
skaffold return with 0 and actually says "Deploy complete"
Information
Steps to reproduce the behavior
skaffold run
this gist.Full log
The text was updated successfully, but these errors were encountered: