Use proper kubectl path

This commit is contained in:
Christoph Blecker
2017-12-13 16:43:58 -08:00
parent 3eac8c541d
commit 1da2e801a4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ tar xzfv ${HELM_TARBALL}
rm -f ${HELM_TARBALL}
# Housekeeping
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
kubernetes/client/bin/kubectl -n kube-system create sa tiller
kubernetes/client/bin/kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
linux-amd64/helm init --service-account tiller --upgrade
linux-amd64/helm repo add stable https://kubernetes-charts.storage.googleapis.com/
+1 -1
View File
@@ -112,7 +112,7 @@ var (
chartsBasePath = filepath.Join(os.Getenv("GOPATH"), "src/k8s.io/charts")
whiteListYamlPath = filepath.Join(chartsBasePath, "test/helm-test/whitelist.yaml")
helmPath = "linux-amd64/helm"
kubectlPath = "/workspace/kubernetes/client/bin/kubectl"
kubectlPath = "kubernetes/client/bin/kubectl"
)
func init() {