Makefile: fix waiting deployment/fresh-scheduler
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 16 May 2019 17:41:21 +0200
changeset 103 a6cd40f4a821
parent 102 5b722d6d6759
child 104 03949823c563
Makefile: fix waiting deployment/fresh-scheduler NAMESPACE is intranet, not fresh
Makefile
--- a/Makefile	Thu May 16 17:05:45 2019 +0200
+++ b/Makefile	Thu May 16 17:41:21 2019 +0200
@@ -24,6 +24,6 @@
 deploy: push
 	sed "s@hub.extranet.logilab.fr/logilab/fresh@$(IMAGE)@" deploy/deployment.yaml | kubectl -n $(NAMESPACE) apply -f -
 	@echo "wait at max 3 minutes for deployment to be UP"
-	kubectl -n $(NAMESPACE) wait --for=condition=available --timeout=180s deployment/fresh deployment/$(NAMESPACE)-scheduler
+	kubectl -n $(NAMESPACE) wait --for=condition=available --timeout=180s deployment/fresh deployment/fresh-scheduler
 
 .PHONY: all build push run dev deploy