Unverified Commit 4f04c1cd authored by Pietro Menna's avatar Pietro Menna Committed by Adam Reese
Browse files

fix(helm): home env not set on Windows

When setting $HELM_HOME, only $HOME was considered. This variable is not always present on Windows.
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -28,11 +28,12 @@ import (
"github.com/spf13/pflag"
"k8s.io/client-go/util/homedir"
"k8s.io/helm/pkg/helm/helmpath"
)
// DefaultHelmHome is the default HELM_HOME.
var DefaultHelmHome = filepath.Join("$HOME", ".helm")
var DefaultHelmHome = filepath.Join(homedir.HomeDir(), ".helm")
// EnvSettings describes all of the environment settings.
type EnvSettings struct {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment