Skip to content

Commit

Permalink
fixed helm init problem (#65)
Browse files Browse the repository at this point in the history
* fixed helm init problem

* Update cmd.go
  • Loading branch information
a-thaler authored May 2, 2019
1 parent d719497 commit 0cd0457
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/kyma/cmd/install/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cd0457

Please sign in to comment.