diff --git a/cmd/helm/install.go b/cmd/helm/install.go index 998022a0c..4e0bc557c 100644 --- a/cmd/helm/install.go +++ b/cmd/helm/install.go @@ -214,6 +214,7 @@ func runInstall(args []string, client *action.Install, valueOpts *values.Options // https://github.com/helm/helm/issues/2209 if err := action.CheckDependencies(chartRequested, req); err != nil { if client.DependencyUpdate { + // Update all dependencies if DependencyUpdate flag is set (Implemented with PR#9399) if chartRequested, err = action.UpdateDependencies(cp, client.ChartPathOptions.Keyring, settings, out, p); err != nil { return nil, err } diff --git a/cmd/helm/upgrade.go b/cmd/helm/upgrade.go index 62c079f4a..2bc654a34 100644 --- a/cmd/helm/upgrade.go +++ b/cmd/helm/upgrade.go @@ -148,7 +148,7 @@ func newUpgradeCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { // Only check dependencies if there are any if req := ch.Metadata.Dependencies; req != nil { if client.DependencyUpdate { - // Update all dependencies if DependencyUpdate is true + // Update all dependencies if DependencyUpdate flag is set (Implemented with PR#9399) if ch, err = action.UpdateDependencies(chartPath, client.ChartPathOptions.Keyring, settings, out, p); err != nil { return err }