Fix e2e test in osx

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-02-26 12:32:53 -03:00
parent ec632817ad
commit 51c6e950a3
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
4 changed files with 20 additions and 63 deletions

View file

@ -185,10 +185,10 @@ e2e-test:
echo "Granting permissions to ingress-nginx e2e service account..."
kubectl create serviceaccount ingress-nginx-e2e || true
kubectl create clusterrolebinding permissive-binding \
--clusterrole=cluster-admin \
--user=admin \
--user=kubelet \
--serviceaccount=default:ingress-nginx-e2e || true
--clusterrole=cluster-admin \
--user=admin \
--user=kubelet \
--serviceaccount=default:ingress-nginx-e2e || true
kubectl run --rm -i --tty \
--attach \
@ -202,12 +202,14 @@ e2e-test:
.PHONY: e2e-test-image
e2e-test-image:
make -C test/e2e-image
.PHONY: e2e-test-binary
e2e-test-binary:
@$(DEF_VARS) \
DOCKER_OPTS="-i --net=host" \
build/go-in-docker.sh build/build-e2e.sh
make -C test/e2e-image
.PHONY: cover
cover:
@$(DEF_VARS) \