mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-10 06:24:09 +09:00
The md0 MachineDeployment scale-to-2 wait in run-kubernetes.sh gave up after 5m, but the product can legitimately take up to 10m to get there. The MachineDeployment bootstrap.configRef gates on a TalosConfigTemplate that is only produced once the talos-reconcile hook Job observes its PKI lookup inputs (apiserver Service ClusterIP, Talos CA, K8s CA, management CoreDNS). That Job's own wait loop budgets 10m (120 x 5s) for those inputs, so on a cold-start CI sandbox the test could time out while the product was still within its real budget, surfacing as md0 stuck ScalingUp "blocked because TalosConfigTemplate does not exist". Raise the test wait from 5m to 10m to match the bootstrap budget and the later readyReplicas wait, which is already 10m. Both kubernetes-latest and kubernetes-previous source this one script, so the single change covers both variants. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>