diff --git a/.gitea/workflows/kind-on-kata-smoke.yml b/.gitea/workflows/kind-on-kata-smoke.yml index 6c0cbaa..816bb7d 100644 --- a/.gitea/workflows/kind-on-kata-smoke.yml +++ b/.gitea/workflows/kind-on-kata-smoke.yml @@ -33,7 +33,17 @@ jobs: } trap cleanup EXIT - kind create cluster --name nested --image "$KIND_NODE_IMAGE" --wait 5m + cat >/tmp/kind-config.yaml <<'EOF' + kind: Cluster + apiVersion: kind.x-k8s.io/v1alpha4 + name: nested + nodes: + - role: control-plane + extraMounts: + - hostPath: /dev/kmsg + containerPath: /dev/kmsg + EOF + kind create cluster --config /tmp/kind-config.yaml --image "$KIND_NODE_IMAGE" --wait 5m docker exec nested-control-plane kubectl \ --kubeconfig=/etc/kubernetes/admin.conf wait \ --for=condition=Ready node/nested-control-plane --timeout=2m