mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #12009 from smarterclayton/fix_cmd_config
hack/test-cmd.sh can fail when ~/.kube/config exists
This commit is contained in:
commit
7c47d6bdbd
@ -90,6 +90,9 @@ CTLRMGR_PORT=${CTLRMGR_PORT:-10252}
|
||||
PROXY_PORT=${PROXY_PORT:-8001}
|
||||
PROXY_HOST=127.0.0.1 # kubectl only serves on localhost.
|
||||
|
||||
# ensure ~/.kube/config isn't loaded by tests
|
||||
HOME="${KUBE_TEMP}"
|
||||
|
||||
# Check kubectl
|
||||
kube::log::status "Running kubectl with no options"
|
||||
"${KUBE_OUTPUT_HOSTBIN}/kubectl"
|
||||
|
Loading…
Reference in New Issue
Block a user