mirror of https://github.com/istio/istio.io.git
Automator: update common-files@master in istio/istio.io@master (#16194)
This commit is contained in:
parent
061b4b812c
commit
e8ed358090
|
@ -1 +1 @@
|
|||
0534ded1b742f889f515f2c651122889c382aac4
|
||||
c036aefdb6470b76bfc1476beb092ec23dea50cd
|
||||
|
|
|
@ -190,7 +190,16 @@ function setup_kind_cluster() {
|
|||
kind create cluster --name="${NAME}" -v4 --retain --image "${IMAGE}" ${KIND_WAIT_FLAG:+"$KIND_WAIT_FLAG"} --config -); then
|
||||
echo "Could not setup KinD environment. Something wrong with KinD setup. Exporting logs."
|
||||
return 9
|
||||
# kubectl config set clusters.kind-istio-testing.server https://istio-testing-control-plane:6443
|
||||
fi
|
||||
|
||||
if [[ "${DEVCONTAINER}" ]]; then
|
||||
# identify our docker container id using proc and regex
|
||||
containerid=$(grep 'resolv.conf' /proc/self/mountinfo | sed 's/.*\/docker\/containers\/\([0-9a-f]*\).*/\1/')
|
||||
docker network connect kind "$containerid"
|
||||
kind export kubeconfig --name="${NAME}" --internal
|
||||
fi
|
||||
|
||||
# Workaround kind issue causing taints to not be removed in 1.24
|
||||
kubectl taint nodes "${NAME}"-control-plane node-role.kubernetes.io/control-plane- 2>/dev/null || true
|
||||
|
||||
|
|
Loading…
Reference in New Issue