@@ -62,9 +62,9 @@ test-frontend:
6262test-all : test-backend test-frontend
6363
6464# Kubernetes targets
65- .PHONY : k8s-deploy k8s-undeploy k8s-redeploy k8s-status k8s-cleanup update-images restore-local-images deploy undeploy redeploy status deploy-k8s cleanup-k8s
66- k8s-deploy : restore-local -images
67- @echo " Deploying to Kubernetes..."
65+ .PHONY : k8s-deploy k8s-deploy-local k8s- undeploy k8s-redeploy k8s-status k8s-cleanup update-images restore-local-images deploy undeploy redeploy status deploy-k8s cleanup-k8s
66+ k8s-deploy : update -images
67+ @echo " Deploying to Kubernetes with registry images ..."
6868 kubectl apply -k $(KUSTOMIZE_DIR ) /
6969
7070k8s-undeploy :
@@ -83,6 +83,10 @@ k8s-status:
8383
8484k8s-cleanup : k8s-undeploy
8585
86+ k8s-deploy-local : restore-local-images
87+ @echo " Deploying to Kubernetes with local images..."
88+ kubectl apply -k $(KUSTOMIZE_DIR ) /
89+
8690# Production deployment (uses registry images)
8791deploy : update-images
8892 @echo " Deploying banking application to Kubernetes with registry images..."
@@ -154,7 +158,7 @@ test-deployment:
154158
155159# Legacy minikube aliases (deprecated)
156160.PHONY : minikube-deploy minikube-cleanup
157- minikube-deploy : k8s-deploy
161+ minikube-deploy : k8s-deploy-local
158162minikube-cleanup : k8s-cleanup
159163
160164# CI/CD targets
@@ -189,7 +193,8 @@ help:
189193 @echo " test-all - Run all tests"
190194 @echo " "
191195 @echo " Kubernetes:"
192- @echo " k8s-deploy - Deploy to Kubernetes (local images)"
196+ @echo " k8s-deploy - Deploy to Kubernetes (registry images)"
197+ @echo " k8s-deploy-local - Deploy to Kubernetes (local images)"
193198 @echo " k8s-undeploy - Remove application from Kubernetes"
194199 @echo " k8s-redeploy - Remove and redeploy application"
195200 @echo " k8s-status - Check deployment status"
0 commit comments