From d22fd5972761ab43bc0e8f50d12dd447f1de942c Mon Sep 17 00:00:00 2001 From: Rimas Mocevicius Date: Fri, 22 Feb 2019 08:09:41 +0000 Subject: [PATCH] docker4mac 2.0 has changed cluster name to docker-desktop (#115) Signed-off-by: rimas --- examples/docker-for-mac/my_test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/docker-for-mac/my_test.sh b/examples/docker-for-mac/my_test.sh index 9281b4d8..61c30c48 100755 --- a/examples/docker-for-mac/my_test.sh +++ b/examples/docker-for-mac/my_test.sh @@ -66,9 +66,9 @@ configure_kubectl() { port=$(get_apiserver_arg "$apiserver_id" --secure-port) docker cp "$HOME/.kube" "$testcontainer_id:/root/.kube" - docker exec "$testcontainer_id" kubectl config set-cluster docker-for-desktop-cluster "--server=https://$ip:$port" - docker exec "$testcontainer_id" kubectl config set-cluster docker-for-desktop-cluster --insecure-skip-tls-verify=true - docker exec "$testcontainer_id" kubectl config use-context docker-for-desktop + docker exec "$testcontainer_id" kubectl config set-cluster docker-desktop "--server=https://$ip:$port" + docker exec "$testcontainer_id" kubectl config set-cluster docker-desktop --insecure-skip-tls-verify=true + docker exec "$testcontainer_id" kubectl config use-context docker-desktop } run_test() {