This repository was archived by the owner on Jul 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ function add_workers {
8181 sleep 30 # TODO(aaron) Have seen "Too many authentication failures" in CI jobs. This seems to help, but should dig into why
8282 echo " Getting worker public IP"
8383 local WORKER_IP=$( gcloud compute instances list ${GCE_PREFIX} -w${i} --format=json | jq --raw-output ' .[].networkInterfaces[].accessConfigs[].natIP' )
84- cd /build/bootkube/hack/quickstart && SSH_OPTS=" -o StrictHostKeyChecking=no" ./init-worker.sh ${WORKER_IP} /build/cluster/auth/kubeconfig
84+ cd /build/bootkube/hack/quickstart && SSH_OPTS=" -o StrictHostKeyChecking=no" CLUSTER_DIR=/build/cluster ./init-worker.sh ${WORKER_IP}
8585 done
8686}
8787
@@ -92,7 +92,7 @@ if [ "${IN_CONTAINER}" == true ]; then
9292 init
9393 add_master
9494 add_workers
95- KUBECONFIG=/etc/kubernetes/kubeconfig WORKER_COUNT=${WORKER_COUNT} /build/bootkube/hack/tests/conformance-test.sh ${MASTER_IP} 22 /root/.ssh/id_rsa
95+ KUBECONFIG=/etc/kubernetes/admin- kubeconfig WORKER_COUNT=${WORKER_COUNT} /build/bootkube/hack/tests/conformance-test.sh ${MASTER_IP} 22 /root/.ssh/id_rsa
9696else
9797 BUILD_ROOT=${BUILD_ROOT:- }
9898 if [ -z " $BUILD_ROOT " ]; then
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ ssh_host=$1
2020ssh_port=$2
2121ssh_key=$3
2222
23- KUBECONFIG=${KUBECONFIG:-/ home/ core/ cluster/ auth/ kubeconfig}
23+ KUBECONFIG=${KUBECONFIG:-/ home/ core/ cluster/ auth/ admin- kubeconfig}
2424K8S_SRC=/home/core/go/src/k8s.io/kubernetes
2525ssh -q -o stricthostkeychecking=no -i ${ssh_key} -p ${ssh_port} core@${ssh_host} \
2626 " mkdir -p ${K8S_SRC} && [[ -d ${K8S_SRC} /.git ]] || git clone https://${CONFORMANCE_REPO} ${K8S_SRC} "
You can’t perform that action at this time.
0 commit comments