From addeed6ad0a9d3469b64fcd364fee32638b48195 Mon Sep 17 00:00:00 2001 From: Masahiro Sano Date: Sat, 14 Mar 2015 03:42:09 +0900 Subject: [PATCH] fix e2e test on vagrant provider --- hack/ginkgo-e2e.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/ginkgo-e2e.sh b/hack/ginkgo-e2e.sh index 87d9c2f89b..761b5701f6 100755 --- a/hack/ginkgo-e2e.sh +++ b/hack/ginkgo-e2e.sh @@ -91,7 +91,8 @@ if [[ -z "${AUTH_CONFIG:-}" ]]; then # When we are using vagrant it has hard coded auth. We repeat that here so that # we don't clobber auth that might be used for a publicly facing cluster. auth_config=( - "--auth_config=$HOME/.kubernetes_vagrant_auth" + "--auth_config=${HOME}/.kubernetes_vagrant_auth" + "--kubeconfig=${HOME}/.kubernetes_vagrant_kubeconfig" ) elif [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then # With GKE, our auth and certs are in gcloud's config directory.