Automator: update common-files@master in istio/istio.io@master (#16194)

This commit is contained in:
Istio Automation 2025-01-22 12:16:57 -05:00 committed by GitHub
parent 061b4b812c
commit e8ed358090
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1 @@
0534ded1b742f889f515f2c651122889c382aac4
c036aefdb6470b76bfc1476beb092ec23dea50cd

View File

@ -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