From 35c606f5c3032d523e790b3acf80e15c7967dd56 Mon Sep 17 00:00:00 2001 From: Andy Braren Date: Mon, 15 Dec 2025 17:23:09 -0500 Subject: [PATCH] Fix Makefile pod name --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 857073318..5d60f3ce3 100644 --- a/Makefile +++ b/Makefile @@ -356,7 +356,7 @@ local-test-quick: check-kubectl check-minikube ## Quick smoke test of local envi @echo "$(COLOR_BLUE)▶$(COLOR_RESET) Testing namespace..." @kubectl get namespace $(NAMESPACE) >/dev/null 2>&1 && echo "$(COLOR_GREEN)✓$(COLOR_RESET) Namespace exists" || (echo "$(COLOR_RED)✗$(COLOR_RESET) Namespace missing" && exit 1) @echo "$(COLOR_BLUE)▶$(COLOR_RESET) Waiting for pods to be ready..." - @kubectl wait --for=condition=ready pod -l app=backend -n $(NAMESPACE) --timeout=60s >/dev/null 2>&1 && \ + @kubectl wait --for=condition=ready pod -l app=backend-api -n $(NAMESPACE) --timeout=60s >/dev/null 2>&1 && \ kubectl wait --for=condition=ready pod -l app=frontend -n $(NAMESPACE) --timeout=60s >/dev/null 2>&1 && \ echo "$(COLOR_GREEN)✓$(COLOR_RESET) Pods ready" || (echo "$(COLOR_RED)✗$(COLOR_RESET) Pods not ready" && exit 1) @echo "$(COLOR_BLUE)▶$(COLOR_RESET) Testing backend health..." @@ -603,7 +603,7 @@ _auto-port-forward: ## Internal: Auto-start port forwarding on macOS with Podman echo ""; \ echo "$(COLOR_BLUE)▶$(COLOR_RESET) Starting port forwarding in background..."; \ echo " Waiting for services to be ready..."; \ - kubectl wait --for=condition=ready pod -l app=backend -n $(NAMESPACE) --timeout=60s 2>/dev/null || true; \ + kubectl wait --for=condition=ready pod -l app=backend-api -n $(NAMESPACE) --timeout=60s 2>/dev/null || true; \ kubectl wait --for=condition=ready pod -l app=frontend -n $(NAMESPACE) --timeout=60s 2>/dev/null || true; \ mkdir -p /tmp/ambient-code; \ kubectl port-forward -n $(NAMESPACE) svc/backend-service 8080:8080 > /tmp/ambient-code/port-forward-backend.log 2>&1 & \