fix ephemeral k3d cluster cleanup
Kube-bench CIS scan / Scan ephemeral K3s cluster (push) Failing after 30s

This commit is contained in:
2026-08-11 16:55:16 -04:00
parent 4c1864587f
commit 22ccecc363
+2 -1
View File
@@ -40,6 +40,7 @@ jobs:
- name: Create ephemeral K3s cluster - name: Create ephemeral K3s cluster
run: | run: |
k3d cluster delete security-baseline-ci >/dev/null 2>&1 || true
k3d cluster create --config ci/k3d-ci-cluster-config.yaml k3d cluster create --config ci/k3d-ci-cluster-config.yaml
kubectl wait --for=condition=Ready nodes --all --timeout=180s kubectl wait --for=condition=Ready nodes --all --timeout=180s
kubectl get nodes -o wide kubectl get nodes -o wide
@@ -90,4 +91,4 @@ jobs:
- name: Delete ephemeral cluster - name: Delete ephemeral cluster
if: always() if: always()
run: k3d cluster delete security-baseline run: k3d cluster delete security-baseline-ci