update helper

This commit is contained in:
Nikola Jokic 2025-11-12 17:31:27 +01:00
parent 8f1e4e4399
commit 7ea7a60a7d
No known key found for this signature in database
GPG Key ID: 554517D3D15A5D2F
1 changed files with 8 additions and 1 deletions

View File

@ -37,7 +37,14 @@ function create_cluster() {
minikube delete || true minikube delete || true
echo "Creating minikube cluster" echo "Creating minikube cluster"
minikube start minikube start --driver=docker --container-runtime=docker --wait=all
echo "Verifying ns works"
if ! minikube ssh "nslookup github.com >/dev/null 2>&1"; then
echo "Nameserver configuration failed"
exit 1
fi
echo "Loading image into minikube cluster" echo "Loading image into minikube cluster"
minikube image load "${IMAGE}" minikube image load "${IMAGE}"