You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(build): version-match the containerd pause image to kubeadm (C4) (#21)
containerd/config.toml hardcoded registry.k8s.io/pause:3.10 for every build,
but kubeadm expects a per-minor pause: 3.10.1 (1.34/1.35) and 3.10.2 (1.36).
The registry was already correct (not the dead k8s.gcr.io), but the stale tag
means containerd pulls a different pause than kubeadm pre-pulled -- a duplicate
image and version drift (pitfall C4).
Resolve the pause image from the bundled kubeadm at build time
(kubeadm config images list) and rewrite sandbox_image, so it always matches the
target Kubernetes minor instead of a hardcoded tag. The config.toml value is now
a placeholder the build overwrites. A CI step asserts the shipped
sandbox_image equals kubeadm pause per minor, so it cannot silently regress.
Verified locally: kubeadm 1.34.0 -> pause:3.10.1, 1.36.0 -> pause:3.10.2; the
sed rewrite + assert pass against the real config.toml.
Closeskairos-io/kairos#4200.
Signed-off-by: William Rizzo <william.rizzo@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments