-
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 should throw the exact error #2730
Comments
Does |
|
In my case the log looks as follows:
|
With skaffold 1.1.0 this is still an issue. |
@mgoltzsche thanks for the update on this. we have plans on our 2020 roadmap to overhaul our error messaging in skaffold to provide more actionable error messages, and I think this would fall under that. this will probably be prioritized by the team later in the year, but if anyone is interested in sending a PR for this specific issue, contributions are always welcome :) |
This was fixed with #4023 |
In skaffold build using kaniko when skaffold tries to copies the context to init container. It tries to run
If a user does not have permission to exec into pod then above build simply fails with following error
Expected behavior
Error message should contain exact error which was return by above command
Actual behavior
Actual error is not tracked. We should have kubectl.RunErr() utility which should print error if any.
Information
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: