Skip to content

Propagate chart version to regcache dependency in ace-installer#1299

Merged
tamalsaha merged 1 commit into
masterfrom
fix-regcache-dep-version-propagation
Jul 12, 2026
Merged

Propagate chart version to regcache dependency in ace-installer#1299
tamalsaha merged 1 commit into
masterfrom
fix-regcache-dep-version-propagation

Conversation

@tamalsaha

Copy link
Copy Markdown
Member

The `v2026.7.10` release (failing job) failed with:

Error: can't get a valid version for 1 subchart(s): "regcache"
(repository "file://../regcache", version "v2026.6.19").
Make sure a matching chart version exists in the repo, or change the version constraint in Chart.yaml

Root cause

The contents-% target in the Makefile bumps a subchart’s version and propagates it into the matching dependency constraint of parent charts — but only ace, acaas, and platform-opscenter:

yq ... .dependencies |= map(select(.name == "$*").version="$(CHART_VERSION)") ./charts/ace/Chart.yaml
yq ... ./charts/acaas/Chart.yaml
yq ... ./charts/platform-opscenter/Chart.yaml

regcache is a dependency only of ace-installer and ace-installer-certified (none of the three listed charts use it). So when make update-charts bumps regcache to the new release version, the ace-installer dependency stays pinned to the previous version, and helm dependency update charts/ace-installer can no longer find it.

Fix

Add ace-installer and ace-installer-certified to the propagation list so their regcache dependency constraint is bumped alongside the chart. (The map(select(.name == "$*")) is a no-op for charts that do not depend on $*, so the existing entries stay safe.)

The contents-% target bumps a subchart's version and updates the matching
dependency constraint in ace, acaas, and platform-opscenter. But regcache is
a dependency only of ace-installer and ace-installer-certified, which were
missing from the list. As a result, bumping regcache (via make update-charts)
left ace-installer's dependency pinned to the previous version, so
'helm dependency update charts/ace-installer' failed with:

  can't get a valid version for 1 subchart(s): "regcache"
  (repository "file://../regcache", version "v2026.6.19")

Add ace-installer and ace-installer-certified to the propagation list.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha
tamalsaha merged commit 46a85a8 into master Jul 12, 2026
3 checks passed
@tamalsaha
tamalsaha deleted the fix-regcache-dep-version-propagation branch July 12, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant