Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
194d43c8
Commit
194d43c8
authored
May 19, 2016
by
Matt Butcher
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #737 from technosophos/fix/tiller-home
fix(helm): change TILLER_HOST to HELM_HOST
parents
206e7266
93b01edd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
helm.go
cmd/helm/helm.go
+3
-3
No files found.
cmd/helm/helm.go
View file @
194d43c8
...
@@ -14,7 +14,7 @@ import (
...
@@ -14,7 +14,7 @@ import (
const
(
const
(
homeEnvVar
=
"HELM_HOME"
homeEnvVar
=
"HELM_HOME"
defaultHome
=
"$HOME/.helm"
// FIXME: is $HOME windows compatible?
defaultHome
=
"$HOME/.helm"
// FIXME: is $HOME windows compatible?
hostEnvVar
=
"
TILLER
_HOST"
hostEnvVar
=
"
HELM
_HOST"
defaultHost
=
":44134"
defaultHost
=
":44134"
)
)
...
@@ -42,7 +42,7 @@ Common actions from this point include:
...
@@ -42,7 +42,7 @@ Common actions from this point include:
Environment:
Environment:
$HELM_HOME Set an alternative location for Helm files. By default, these are stored in ~/.helm
$HELM_HOME Set an alternative location for Helm files. By default, these are stored in ~/.helm
$
TILLER
_HOST Set an alternative Tiller host. The format is host:port (default ":44134").
$
HELM
_HOST Set an alternative Tiller host. The format is host:port (default ":44134").
`
`
// RootCommand is the top-level command for Helm.
// RootCommand is the top-level command for Helm.
...
@@ -64,7 +64,7 @@ func init() {
...
@@ -64,7 +64,7 @@ func init() {
}
}
p
:=
RootCommand
.
PersistentFlags
()
p
:=
RootCommand
.
PersistentFlags
()
p
.
StringVar
(
&
helmHome
,
"home"
,
home
,
"location of your Helm config. Overrides $HELM_HOME."
)
p
.
StringVar
(
&
helmHome
,
"home"
,
home
,
"location of your Helm config. Overrides $HELM_HOME."
)
p
.
StringVar
(
&
tillerHost
,
"host"
,
thost
,
"address of tiller. Overrides $
TILLER
_HOST."
)
p
.
StringVar
(
&
tillerHost
,
"host"
,
thost
,
"address of tiller. Overrides $
HELM
_HOST."
)
p
.
BoolVarP
(
&
flagVerbose
,
"verbose"
,
"v"
,
false
,
"enable verbose output"
)
p
.
BoolVarP
(
&
flagVerbose
,
"verbose"
,
"v"
,
false
,
"enable verbose output"
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment