From 597741200f46f83a536b0719e196168f26c458df Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Wed, 26 Aug 2020 10:01:47 +0200 Subject: [PATCH] remove cp tmp --- e2e/run.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/e2e/run.sh b/e2e/run.sh index 904115565..9d7e2eba7 100755 --- a/e2e/run.sh +++ b/e2e/run.sh @@ -44,7 +44,6 @@ function start_kind(){ function set_kind_api_server_ip(){ # use the actual kubeconfig to connect to the 'kind' API server # but update the IP address of the API server to the one from the Docker 'bridge' network - cp "${KUBECONFIG}" /tmp readonly local kind_api_server_port=6443 # well-known in the 'kind' codebase readonly local kind_api_server=$(docker inspect --format "{{ .NetworkSettings.Networks.kind.IPAddress }}:${kind_api_server_port}" "${cluster_name}"-control-plane) sed -i "s/server.*$/server: https:\/\/$kind_api_server/g" "${kubeconfig_path}"