chore: use helm/kind-action (#2189)

helm/kind-action seems to be more maintained than engineerd/setup-kind.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier
2023-08-16 17:55:40 +02:00
committed by GitHub
parent e80cc8b01c
commit 169d92abb2

View File

@@ -92,13 +92,14 @@ jobs:
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: ${{ env.golang-version }} go-version: ${{ env.golang-version }}
- name: Start KinD - name: Start kind cluster
uses: engineerd/setup-kind@v0.5.0 uses: helm/kind-action@v1.7.0
with: with:
version: ${{ env.kind-version }} version: ${{ env.kind-version }}
image: ${{ matrix.kind-image }} node_image: ${{ matrix.kind-image }}
wait: 10s # Without default CNI, control-plane doesn't get ready until Cilium is installed wait: 10s # Without default CNI, control-plane doesn't get ready until Cilium is installed
config: .github/workflows/kind/config.yml config: .github/workflows/kind/config.yml
cluster_name: e2e
- name: Install kube-router for NetworkPolicy support - name: Install kube-router for NetworkPolicy support
run: | run: |
kubectl apply -f .github/workflows/kind/kube-router.yaml kubectl apply -f .github/workflows/kind/kube-router.yaml