From 35f1b318bb62fb04d5532aaeac97d71011461159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20S=C4=99k?= Date: Mon, 11 Mar 2019 16:49:02 +0100 Subject: [PATCH] Use proper kubectl context in e2e tests --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 1300fb24..3c6d1c67 100644 --- a/Makefile +++ b/Makefile @@ -151,6 +151,7 @@ CURRENT_DIRECTORY := $(shell pwd) e2e: build docker-build ## Runs e2e tests, you can use EXTRA_ARGS @echo "+ $@" @echo "Docker image: $(DOCKER_REGISTRY):$(GITCOMMIT)" + kubectl config use-context $(ENVIRONMENT) cp deploy/service_account.yaml deploy/namespace-init.yaml cat deploy/role.yaml >> deploy/namespace-init.yaml cat deploy/role_binding.yaml >> deploy/namespace-init.yaml