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
c6af1695
Commit
c6af1695
authored
Mar 29, 2016
by
Adam Reese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(cli): use global option string for kubectl
parent
84e7abca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
server.go
cmd/helm/server.go
+4
-4
No files found.
cmd/helm/server.go
View file @
c6af1695
...
...
@@ -128,7 +128,7 @@ func installServer(c *cli.Context) error {
manImg
:=
c
.
String
(
"manager-image"
)
dryRun
:=
c
.
Bool
(
"dry-run"
)
kubectlPath
:=
c
.
String
(
"kubectl"
)
kubectlPath
:=
c
.
Global
String
(
"kubectl"
)
runner
:=
buildKubectlRunner
(
kubectlPath
,
dryRun
)
i
:=
client
.
NewInstaller
()
...
...
@@ -146,7 +146,7 @@ func installServer(c *cli.Context) error {
func
uninstallServer
(
c
*
cli
.
Context
)
error
{
dryRun
:=
c
.
Bool
(
"dry-run"
)
kubectlPath
:=
c
.
String
(
"kubectl"
)
kubectlPath
:=
c
.
Global
String
(
"kubectl"
)
runner
:=
buildKubectlRunner
(
kubectlPath
,
dryRun
)
out
,
err
:=
client
.
Uninstall
(
runner
)
...
...
@@ -159,7 +159,7 @@ func uninstallServer(c *cli.Context) error {
func
statusServer
(
c
*
cli
.
Context
)
error
{
dryRun
:=
c
.
Bool
(
"dry-run"
)
kubectlPath
:=
c
.
String
(
"kubectl"
)
kubectlPath
:=
c
.
Global
String
(
"kubectl"
)
runner
:=
buildKubectlRunner
(
kubectlPath
,
dryRun
)
out
,
err
:=
runner
.
GetByKind
(
"pods"
,
""
,
"dm"
)
...
...
@@ -172,7 +172,7 @@ func statusServer(c *cli.Context) error {
func
targetServer
(
c
*
cli
.
Context
)
error
{
dryRun
:=
c
.
Bool
(
"dry-run"
)
kubectlPath
:=
c
.
String
(
"kubectl"
)
kubectlPath
:=
c
.
Global
String
(
"kubectl"
)
runner
:=
buildKubectlRunner
(
kubectlPath
,
dryRun
)
out
,
err
:=
runner
.
ClusterInfo
()
...
...
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