openova/infra
e3mrah 5aee6aa737
fix(cloudinit): poll for local-path StorageClass instead of pod Ready (closes #207) (#209)
The previous fix for #189 wrote `kubectl wait --for=condition=Ready pod
-l app=local-path-provisioner --timeout=60s`. That cannot succeed
pre-Cilium: k3s runs with --flannel-backend=none, the node stays
Ready=False until Cilium installs (much later in cloud-init), and the
not-ready taint blocks every untolerated pod. The wait timed out at
60s, scripts_user failed, and the Flux-bootstrap + kubeconfig POST-back
sections never executed. Every fresh Sovereign provision was stuck
"before Cilium" with no error signal in the wizard.

Replace the impossible Pod-Ready wait with a poll for the StorageClass
object itself, which k3s registers independently of CNI within ~3s of
service start.

Co-authored-by: hatiyildiz <hatice.yildiz@openova.io>
2026-04-29 21:30:27 +02:00
..
hetzner fix(cloudinit): poll for local-path StorageClass instead of pod Ready (closes #207) (#209) 2026-04-29 21:30:27 +02:00