From d2f3c5b195e26261e8a87f6a22a7d4bc7a05f808 Mon Sep 17 00:00:00 2001 From: Ewout Prangsma Date: Mon, 12 Mar 2018 13:44:25 +0100 Subject: [PATCH] Fix testing on default namespace --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index e5751537d..8eb28c139 100644 --- a/Makefile +++ b/Makefile @@ -233,8 +233,10 @@ ifdef PUSHIMAGES docker push $(OPERATORIMAGE) docker push $(TESTIMAGE) endif +ifneq ($(DEPLOYMENTNAMESPACE), default) $(ROOTDIR)/scripts/kube_delete_namespace.sh $(DEPLOYMENTNAMESPACE) kubectl create namespace $(DEPLOYMENTNAMESPACE) +endif kubectl apply -f $(MANIFESTPATH) $(ROOTDIR)/scripts/kube_create_storage.sh $(DEPLOYMENTNAMESPACE) kubectl --namespace $(DEPLOYMENTNAMESPACE) \