From fc6e6ed310684c427f71f148c05518b605ad4851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9na=C3=AFc=20Huard?= Date: Thu, 19 Mar 2015 15:13:35 +0100 Subject: [PATCH] Explain when e2e --host parameter is used and when it is ignored --- hack/ginkgo-e2e.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hack/ginkgo-e2e.sh b/hack/ginkgo-e2e.sh index ea5fc60c0a..54e0f44ea2 100755 --- a/hack/ginkgo-e2e.sh +++ b/hack/ginkgo-e2e.sh @@ -131,6 +131,9 @@ else fi # Use the kubectl binary from the same directory as the e2e binary. +# The --host setting is used only when providing --auth_config +# If --kubeconfig is used, the host to use is retrieved from the .kubeconfig +# file and the one provided with --host is ignored. export PATH=$(dirname "${e2e}"):"${PATH}" "${e2e}" "${auth_config[@]:+${auth_config[@]}}" \ --host="https://${KUBE_MASTER_IP-}" \