stack-orchestrator/tests/k8s-deploy
Prathamesh Musale 52fab97e9b so-o2o: use alpine/kubectl; surface diagnostics on job timeout
CI test hit 'timed out waiting for the condition on jobs/caddy-cert-backup-manual'.
Root cause: bitnami/kubectl runs as uid 1001 by default, but the hostPath
mount target (/mnt/caddy-cert-backup on the kind node → /srv/kind/...
on the host) is root-owned because kind creates bind-mounted dirs via the
docker daemon. The pod couldn't write its output.

Switch to alpine/kubectl:1.35.3 which runs as root by default and is
smaller (faster pull in CI). Bump wait timeout to 120s as a cushion.
Dump describe/pod-list/logs on timeout so future failures are
debuggable from log output alone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 09:32:04 +00:00
..
run-deploy-test.sh so-o2o: use alpine/kubectl; surface diagnostics on job timeout 2026-04-17 09:32:04 +00:00