From 79fe9903f0f322b03e869468fa385cea83021984 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Fri, 9 Aug 2019 14:35:33 -0700 Subject: [PATCH] fix(upgrade): call printRelease during `helm upgrade --install --debug` Signed-off-by: Matthew Fisher --- cmd/helm/upgrade.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/helm/upgrade.go b/cmd/helm/upgrade.go index 6b12cca70..77ce019d7 100644 --- a/cmd/helm/upgrade.go +++ b/cmd/helm/upgrade.go @@ -100,7 +100,10 @@ func newUpgradeCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { instClient.Namespace = client.Namespace instClient.Atomic = client.Atomic - _, err := runInstall(args, instClient, valueOpts, out) + resp, err := runInstall(args, instClient, valueOpts, out) + if settings.Debug { + action.PrintRelease(out, resp) + } return err } }