Exclude helm dependency chart packages from watched files
@@ -79,8 +79,9 @@ func (h *HelmDeployer) Dependencies() ([]string, error) {
var deps []string
for _, release := range h.Releases {
deps = append(deps, release.ValuesFilePath)
+ chart_deps_dir := filepath.Join(release.ChartPath, "charts")
filepath.Walk(release.ChartPath, func(path string, info os.FileInfo, err error) error {
- if !info.IsDir() {
+ if !info.IsDir() && !strings.HasPrefix(path, chart_deps_dir) {
deps = append(deps, path)
}
return nil
