From 0cd0457f1caa46c13b280c09e353c5b10ef8e85a Mon Sep 17 00:00:00 2001 From: Andreas Thaler Date: Thu, 2 May 2019 15:59:09 +0200 Subject: [PATCH] fixed helm init problem (#65) * fixed helm init problem * Update cmd.go --- pkg/kyma/cmd/install/cmd.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/kyma/cmd/install/cmd.go b/pkg/kyma/cmd/install/cmd.go index b51158995..1fc08cf77 100644 --- a/pkg/kyma/cmd/install/cmd.go +++ b/pkg/kyma/cmd/install/cmd.go @@ -211,10 +211,12 @@ func (cmd *command) configureHelm() error { if err != nil { return err } - if helmHome != "" { + + if helmHome == "" { cmd.CurrentStep.LogInfof("Helm not installed") return nil } + secret, err := cmd.Kubectl().RunCmd("-n", "kyma-installer", "--ignore-not-found=false", "get", "secret", "helm-secret", "-o", "yaml") if err != nil { return err