diff --git a/.gitea/workflows/e2e.yml b/.gitea/workflows/e2e.yml index aa902d6..0be8ce4 100644 --- a/.gitea/workflows/e2e.yml +++ b/.gitea/workflows/e2e.yml @@ -3,7 +3,7 @@ jobs: k8s-test: runs-on: ubuntu-latest env: - CLUSTER_NAME: helm-actions-cluster + CLUSTER_NAME: test-cluster steps: - uses: actions/checkout@v4 @@ -22,6 +22,7 @@ jobs: - name: Create kind cluster run: | + docker inspect ${CLUSTER_NAME}-control-plane && mkdir -p ~/.kube && kind get kubeconfig --name ${CLUSTER_NAME} > ~/.kube/config || kind create cluster --name ${CLUSTER_NAME} --wait 5m - name: Connect kind to the job container's network and fix kubeconfig