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
93b01edd
Commit
93b01edd
authored
May 19, 2016
by
Matt Butcher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(helm): change TILLER_HOST to HELM_HOST
This makes the naming of client-side environment variables consistent.
parent
206e7266
Hide 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 @
93b01edd
...
...
@@ -14,7 +14,7 @@ import (
const
(
homeEnvVar
=
"HELM_HOME"
defaultHome
=
"$HOME/.helm"
// FIXME: is $HOME windows compatible?
hostEnvVar
=
"
TILLER
_HOST"
hostEnvVar
=
"
HELM
_HOST"
defaultHost
=
":44134"
)
...
...
@@ -42,7 +42,7 @@ Common actions from this point include:
Environment:
$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.
...
...
@@ -64,7 +64,7 @@ func init() {
}
p
:=
RootCommand
.
PersistentFlags
()
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"
)
}
...
...
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