mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 15:41:47 +00:00
setup Calico to enable network policy for e2e testing
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com> Signed-off-by: jonathan-innis <jonathan.innis.ji@gmail.com>
This commit is contained in:
parent
fbeda7c30d
commit
18a1443f60
1 changed files with 5 additions and 0 deletions
5
.github/workflows/e2e.yaml
vendored
5
.github/workflows/e2e.yaml
vendored
|
|
@ -27,6 +27,11 @@ jobs:
|
||||||
uses: engineerd/setup-kind@v0.5.0
|
uses: engineerd/setup-kind@v0.5.0
|
||||||
with:
|
with:
|
||||||
image: kindest/node:v1.16.9
|
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
|
- name: Run test
|
||||||
run: make test
|
run: make test
|
||||||
- name: Check if working tree is dirty
|
- name: Check if working tree is dirty
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue