Automatically watch helm subcharts when skipBuildDependencies is enabled#1371
Automatically watch helm subcharts when skipBuildDependencies is enabled#1371nkubala merged 16 commits intoGoogleContainerTools:masterfrom pscarey:helm-watch-subcharts
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 +4Continue to review full report at Codecov.
|
balopat
left a comment
There was a problem hiding this comment.
LGTM - I'm just going to confirm if there was an historical reason why it was not enabled...
balopat
left a comment
There was a problem hiding this comment.
@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. |
|
@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.