diff --git a/.gitea/workflows/e2e.yml b/.gitea/workflows/e2e.yml index 1fc4850..3602560 100644 --- a/.gitea/workflows/e2e.yml +++ b/.gitea/workflows/e2e.yml @@ -20,7 +20,7 @@ jobs: - name: Create kind cluster run: | - docker inspect test-cluster-control-plane || kind create cluster --name test-cluster --wait 5m + docker inspect test-cluster-control-plane && mkdir -p ~/.kube && kind get kubeconfig --name test-cluster > ~/.kube/config || kind create cluster --name test-cluster --wait 5m - name: Connect kind to the job container's network and fix kubeconfig if: always()