Skip to content

Commit bc259b3

Browse files
committed
Use minikube context
1 parent 3666e4d commit bc259b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/cloud-deployment/scripts/deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ else
7878
echo -e "${GREEN}✓ Minikube is already running${NC}"
7979
fi
8080

81+
# Ensure kubectl is using the correct minikube context
82+
minikube update-context
83+
8184
# Set up registry for Docker, skip for Podman (we'll use minikube image load)
8285
if [ "$CONTAINER_TOOL" = "docker" ]; then
8386
# Enable Minikube registry addon if not already enabled

0 commit comments

Comments
 (0)