Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
fix and todo
Browse files Browse the repository at this point in the history
  • Loading branch information
MHBauer committed Sep 20, 2017
1 parent 7193ec2 commit 4546769
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ NON_VENDOR_DIRS = $(shell $(DOCKER_CMD) glide nv)
build: .init .generate_files \
$(BINDIR)/apiserver \
$(BINDIR)/controller-manager \
$(BINDIR)/user-broker
$(BINDIR)/user-broker \
plugins

user-broker: $(BINDIR)/user-broker
Expand Down
4 changes: 4 additions & 0 deletions plugin/cmd/kubectl/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ func CheckNamespaceExists(name string) error {
proxyURL := "http://127.0.0.1"
proxyPort := "8881"

// TODO: use the KUBECTL_PLUGINS_CALLER env var, which will
// give you the full path to the kubectl binary.
//
// https://github.com/kubernetes-incubator/service-catalog/pull/840/files#r120732815
kubeProxy := exec.Command("kubectl", "proxy", "-p", proxyPort)
defer func() {
if err := kubeProxy.Process.Kill(); err != nil {
Expand Down

0 comments on commit 4546769

Please sign in to comment.