Watch helm subcharts for changes too
@@ -83,12 +83,11 @@ func (h *HelmDeployer) Dependencies() ([]string, error) {
var deps []string
for _, release := range h.Releases {
deps = append(deps, release.ValuesFiles...)
- chartDepsDir := filepath.Join(release.ChartPath, "charts")
err := filepath.Walk(release.ChartPath, func(path string, info os.FileInfo, err error) error {
if err != nil {
return errors.Wrapf(err, "failure accessing path '%s'", path)
}
- if !info.IsDir() && !strings.HasPrefix(path, chartDepsDir) {
+ if !info.IsDir() {
deps = append(deps, path)
}
return nil
