We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 640b436 commit 8de5c0bCopy full SHA for 8de5c0b
1 file changed
e2e-tests/utils.sh
@@ -296,6 +296,18 @@ function start_minikube {
296
echo "Could not start minikube. Aborting..."
297
exit 1
298
fi
299
+ if ! retry_times 3 30 enable_minikube_ingress; then
300
+ echo "Could not enable minikube ingress addon. Aborting..."
301
+ exit 1
302
+ fi
303
+}
304
+
305
+function enable_minikube_ingress {
306
+ # `minikube addons enable ingress` performs its own synchronous verify with
307
+ # an internal ~3m deadline that is frequently exceeded on cold CI runners
308
+ # while pulling the ingress-nginx controller and webhook-certgen images.
309
+ # The addon Deployment is applied even when verify times out, so retrying
310
+ # is cheap and idempotent: the second attempt reuses the cached images.
311
minikube addons enable ingress
312
}
313
0 commit comments