From 47275042f62b7382e30e280550cae451bfa50aa1 Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Mon, 9 Nov 2026 19:03:32 +0800 Subject: [PATCH] chore(helm): deploy SILO and mcli 20261109 by default The 20261026 release moved mcImage.tag but left image.tag, which the templates deploy, at 20260916 (#296). Point the server and mcli images and appVersion at RELEASE.2026-11-09T00-00-00Z and bump the chart to 7.0.4. The Helm check now reads the chart version instead of a fixed file name, and fails when image.tag differs from appVersion, so a release cannot move one without the other again. Upgrades that pass --reuse-values keep the old image.tag; set image.tag explicitly when upgrading such a release. Fixes #296 Co-Authored-By: Claude Opus 5.5 Signed-off-by: Feng Ruohang --- buildscripts/verify-helm-migration.sh | 11 ++++++++++- helm/silo/Chart.yaml | 4 ++-- helm/silo/values.yaml | 4 ++-- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/buildscripts/verify-helm-migration.sh b/buildscripts/verify-helm-migration.sh index 138b1ef03..60c94316e 100755 --- a/buildscripts/verify-helm-migration.sh +++ b/buildscripts/verify-helm-migration.sh @@ -112,8 +112,17 @@ helm_run template my-release "${new_chart}" \ go run ./buildscripts/helm-migration-guard "${old_render}" "${new_render}" +# The templates deploy values.image.tag, not appVersion; a release must move both. +chart_version="$(sed -n 's/^version: *//p' helm/silo/Chart.yaml)" +app_version="$(sed -n 's/^appVersion: *//p' helm/silo/Chart.yaml)" +image_tag="$(sed -n '/^image:/,/^[^ ]/s/^ tag: *//p' helm/silo/values.yaml)" +if [ -z "${app_version}" ] || [ "${image_tag}" != "${app_version}" ]; then + echo "helm/silo: image.tag '${image_tag}' must equal appVersion '${app_version}'" >&2 + exit 1 +fi + helm_run package "${new_chart}" --destination "${output_dir}" >/dev/null -test -s "${work_dir}/silo-7.0.3.tgz" +test -s "${work_dir}/silo-${chart_version}.tgz" if find "${work_dir}" -maxdepth 1 -type f -name 'minio-*.tgz' | grep -q .; then echo "Helm packaging emitted a legacy MinIO chart name" >&2 exit 1 diff --git a/helm/silo/Chart.yaml b/helm/silo/Chart.yaml index ad8cdebc2..1daee4a44 100644 --- a/helm/silo/Chart.yaml +++ b/helm/silo/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 description: S3-Interface Libre Object Storage name: silo -version: 7.0.3 -appVersion: RELEASE.2026-09-16T00-00-00Z +version: 7.0.4 +appVersion: RELEASE.2026-11-09T00-00-00Z keywords: - silo - storage diff --git a/helm/silo/values.yaml b/helm/silo/values.yaml index cd5ddfdb4..a911417a6 100644 --- a/helm/silo/values.yaml +++ b/helm/silo/values.yaml @@ -15,7 +15,7 @@ clusterDomain: cluster.local ## image: repository: pgsty/silo - tag: RELEASE.2026-09-16T00-00-00Z + tag: RELEASE.2026-11-09T00-00-00Z pullPolicy: IfNotPresent imagePullSecrets: [] @@ -25,7 +25,7 @@ imagePullSecrets: [] ## mcImage: repository: pgsty/mc - tag: RELEASE.2026-10-26T00-00-00Z + tag: RELEASE.2026-11-09T00-00-00Z pullPolicy: IfNotPresent ## Silo mode, i.e. standalone or distributed.