Repository navigation
fix(apisix): pin verified APISIX and etcd images - #1040
NiuBlibing wants to merge 1 commit into
Conversation
9008674 to
a7444b7
Compare
|
Recommended merge order to reduce overlapping changes while keeping each PR single-topic: #1039 → #1040 → #1041 → #1042 → #1043 → #1044 → #1045 → #1046 → #1047 The PRs are intentionally all based on |
|
Updated recommended merge order after separating Admin API access policy from Ingress wiring: #1039 → #1040 → #1041 → #1042 → #1043 → #1048 → #1044 → #1045 → #1046 → #1047 Each PR remains based on |
membphis
left a comment
There was a problem hiding this comment.
Reviewed at a7444b7976cf57956cbdb7e6812d6a67ce37712d against baseline acd25584395d905511b68a20420bddf2bbd71a80.
[P1] Preserve the working etcd default or provide an explicit migration
In charts/apisix/values.yaml, this changes etcd.enabled from true to false, while externalEtcd.host still defaults to the placeholder http://etcd.host:2379. A fresh installation with default values therefore has no usable configuration store. An upgrade that adopts the new defaults also removes the bundled etcd workload and points APISIX at that placeholder.
The description currently says that external etcd remains available, but does not disclose that it becomes the default. Please keep the existing default in this image-pinning change, or provide a separately documented migration with a required real endpoint and a tested upgrade/rollback path.
[P1] Pair the pinned etcd image with a compatible chart
The bundled etcd-12.0.18.tgz declares etcd 3.6.4 and defaults preUpgradeJob.enabled to true. Its pre-upgrade Job invokes /opt/bitnami/scripts/etcd/preupgrade.sh, but the selected 3.5.17-debian-12-r2 image predates that script. With etcd.enabled=true, a subsequent Helm upgrade can fail in the hook before updating the release.
Please use a compatible chart/image pair and cover an initial installation followed by a Helm upgrade. The Bitnami container notes describe the introduction of the pre-upgrade script.
The two configured manifest digests match the published tags; the remaining issues are the default-behavior change and chart/image compatibility.
a7444b7 to
6f9c1e3
Compare
|
Updated at 95fea9b. Bundled etcd remains enabled to preserve existing installations. APISIX and etcd use verified immutable manifest digests; etcd is pinned to 3.6.4 to match dependency 12.0.18 pre-upgrade requirements. External etcd remains explicit with etcd.enabled=false and documented migration/backup behavior. |
|
Follow-up review fix: the default wait-etcd BusyBox is now pinned to the verified multi-architecture digest, with an explicit empty-digest tag fallback for mirrors. Added render coverage for the default and fallback forms. Verified with |
9557494 to
e996cea
Compare
Scope
Pin the APISIX, bundled etcd and wait-etcd images to explicit tags and immutable multi-architecture manifest digests. The APISIX pin follows the chart's current 3.21.0 default; the dependency hook image remains aligned with the bundled etcd dependency.
External etcd remains controlled by
etcd.enabled=falseandexternalEtcd. This PR does not migrate Bitnami data or change the chart's etcd ownership model.Validation
uv run --with PyYAML python test/render/images.pypassed. The APISIX manifest digest was checked against Docker Hub's registry manifest for amd64 and arm64, and Helm lint passed with token authentication disabled.