Skip to content

Build kubestash-certified dependencies in update-chart-dependencies.sh - #356

Merged
tamalsaha merged 1 commit into
masterfrom
fix-certified-chart-deps
Jul 13, 2026
Merged

Build kubestash-certified dependencies in update-chart-dependencies.sh#356
tamalsaha merged 1 commit into
masterfrom
fix-certified-chart-deps

Conversation

@tamalsaha

Copy link
Copy Markdown
Contributor

Follow-up to #355.

#355 gitignored the vendored subchart archives under charts/kubestash-certified/charts (matching kubedb/installer) so verify-catalog stops failing on non-reproducible helm-packaged .tgz. But hack/scripts/update-chart-dependencies.sh only built the umbrella chart's dependencies:

helm dependency update charts/kubestash

So after the merge, the OCI publish job failed because the certified chart's charts/ directory was empty:

Error: found in Chart.yaml, but missing in charts/ directory: kubestash-operator, kubestash-catalog, kubestash-metrics, ace-user-roles, taskqueue

Fix: also build the certified chart's dependencies, matching kubedb/installer (whose script builds charts/kubedb-certified):

helm dependency update charts/kubestash
helm dependency update charts/kubestash-certified

Verified locally: after running the updated script, charts/kubestash-certified/charts/ is repopulated and helm package charts/kubestash-certified succeeds.

Since the certified subchart archives under charts/kubestash-certified/charts
are gitignored, they must be rebuilt before the chart is packaged or installed.
`update-chart-dependencies.sh` only ran `helm dependency update charts/kubestash`,
so the OCI publish flow (`helm package charts/kubestash-certified`) failed with
"found in Chart.yaml, but missing in charts/ directory". Add the certified chart
so its dependencies are built too, matching kubedb/installer.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha
tamalsaha merged commit 3a525e2 into master Jul 13, 2026
3 checks passed
@tamalsaha
tamalsaha deleted the fix-certified-chart-deps branch July 13, 2026 08:03
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