-
Notifications
You must be signed in to change notification settings - Fork 909
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
kubectl --validate --dry-run does not check for kubernetes-syntax #805
Comments
similar:
|
@soltysh does server-side apply address this? |
I think this could be fixed with kubernetes/enhancements#576 (?) |
Yeah, you're supposed to use the existing |
Based on the previous commenting I'm closing this. |
@soltysh: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@apelisse Thanks! Already using this in my CI |
Awesome @rdxmb, let us know if there's anything else we can do to improve it! |
Neither
--validate
nor--dry-run
makes a full syntax check withkubectl apply
against the server. So, there is no real dry-run and no real validateHowever,
kubectl diff
does so:expected:
The text was updated successfully, but these errors were encountered: