-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Do not display helm
warnings for multi-config projects
#5468
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5468 +/- ##
==========================================
- Coverage 70.53% 70.51% -0.03%
==========================================
Files 413 413
Lines 15982 15986 +4
==========================================
- Hits 11273 11272 -1
- Misses 3879 3881 +2
- Partials 830 833 +3
Continue to review full report at Codecov.
|
These warnings are useful: people get tripped up on them, especially when porting an existing project into Skaffold. Until we ignore the tags, I don't think we should drop these warnings. Maybe what we should do is teach the deployer here to consider image dependencies as a use. |
we discussed this in the triage meeting and decided to improve the warning mechanism to only notify on images not used in the manifest by figuring out the list of required images from the manifest upfront. That would solve this issue. Closing this PR. |
I want to reopen this with the following observations:
|
So, I ended up resurrecting a usecase for which the warning was introduced.
I see the warning in this flow.
However, there are two issues here
It would makes sense to
Regarding @briandealwis's point. Yes, if i did not have that warning it would be hard for me to debug.
Another approach is to add another field to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few suggestions to keep the warning only if helm deployer is used in single skaffold config.
Implemented suggestions. PTAL @tejal29 |
helm
warnings for multi-config projects
Related: #5455
Description
The
helm
deployer displays a warning when a built artifact is not used in the deployment. Like:This warning is not accurate for multi-config since all artifacts are managed in the same flat list and passed along to every deployer. This triggers this warning for every helm deployment imported as a dependency.