From b034bc72d07da37d8323bbab285dc797641a0e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20B=C3=A4hler?= Date: Thu, 25 Feb 2021 14:42:53 +0100 Subject: [PATCH] Add Comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oliver Bähler --- cmd/helm/install.go | 1 + cmd/helm/upgrade.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 }