From 832c925d39a1545507e72fb558d9da9529699b8f Mon Sep 17 00:00:00 2001 From: Chanwit Kaewkasi Date: Thu, 28 Jan 2021 20:50:02 +0700 Subject: [PATCH] setup Calico to enable network policy for e2e testing Signed-off-by: Chanwit Kaewkasi --- .github/workflows/e2e.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index e7d2e19a..c7dd413e 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -27,6 +27,11 @@ jobs: uses: engineerd/setup-kind@v0.5.0 with: image: kindest/node:v1.16.9 + config: .github/workflows/e2e_kind_config.yaml # disable KIND-net + - name: Setup Calico for network policy + run: | + kubectl apply -f https://docs.projectcalico.org/v3.16/manifests/calico.yaml + kubectl -n kube-system set env daemonset/calico-node FELIX_IGNORELOOSERPF=true - name: Run test run: make test - name: Check if working tree is dirty