-
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
Automatically watch helm subcharts when skipBuildDependencies is enabled #1371
Automatically watch helm subcharts when skipBuildDependencies is enabled #1371
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1371 +/- ##
==========================================
+ Coverage 55.96% 56.03% +0.07%
==========================================
Files 173 175 +2
Lines 7566 7616 +50
==========================================
+ Hits 4234 4268 +34
- Misses 2928 2940 +12
- Partials 404 408 +4 Continue to review full report at Codecov.
|
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.
LGTM - I'm just going to confirm if there was an historical reason why it was not enabled...
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.
@pscarey this is not going to be that easy seemingly.
#932
We run helm dep build
on rebuilds that causes an infinite loop. Did you not run into this issue?
Thanks for raising that issue. I ran the existing go tests with only these changes, but am current successfully using #1368 in conjunction with this on our actual helm charts (as #1368 is required to run our charts). Would you be happy if I paused this until we've completed the merge of #1368, then only allowed automatic watching of subcharts when the Helm |
The 'helm dep build' command modifies files in the charts directory of the main helm chart. By default any files in that directory are excluded from the watch list, but if skipBuildDependencies is enabled those files are now automatically included. |
@nkubala Have updated. |
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.
@nkubala Hope the description is clear. Please add the |
Fixes #1347
Previously, the Helm deployer was set to ignore chart dependencies, so updating a sub chart didn't trigger a re-deploy in when running
skaffold dev
. This pull request removes that restriction, so that chart dependencies are included in the watch list.