Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#47 from gofed/remove-api-and-port-…
Browse files Browse the repository at this point in the history
…envs-from-integration-tests

remove api and port env from integration tests
  • Loading branch information
ingvagabund authored Feb 15, 2017
2 parents 3115506 + 1ab53ec commit 32b1d2e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@
# - KUBE_MASTER_API: master api url
# - KUBE_MASTER_API_PORT: master api port

KUBE_MASTER_API=${KUBE_MASTER_API:-http://localhost}
KUBE_MASTER_API_PORT=${KUBE_MASTER_API_PORT:-443}
KUBE_CONFIG=${KUBE_CONFIG:-~/.kube/config}

alias kubectl="kubectl --kubeconfig=${KUBE_CONFIG} --server=${KUBE_MASTER_API}:${KUBE_MASTER_API_PORT}"
alias kubectl="kubectl --kubeconfig=${KUBE_CONFIG}"
alias cc="./cluster-capacity --kubeconfig ${KUBE_CONFIG}"
#### pre-tests checks

Expand Down

0 comments on commit 32b1d2e

Please sign in to comment.