Skip to content

Add reproducible make targets for catalog and certified charts - #355

Merged
tamalsaha merged 2 commits into
masterfrom
catalog-make-targets
Jul 13, 2026
Merged

Add reproducible make targets for catalog and certified charts#355
tamalsaha merged 2 commits into
masterfrom
catalog-make-targets

Conversation

@tamalsaha

Copy link
Copy Markdown
Contributor

Ports the catalog-tooling changes from kubedb.dev/installer to this repo.

Makefile

  • install-image-packer / install-chart-packer — fetch pinned binaries into bin/$(OS)_$(ARCH).
  • update-chart-dependencies — wraps hack/scripts/update-chart-dependencies.sh.
  • update-certified-charts — regenerates kubestash-certified / kubestash-certified-crds via chart-packer crd-less/crd-only, with a guard that reverts Chart.lock when only the generated: timestamp changed.
  • update-catalog — runs the catalog image-list regeneration.
  • verify-catalog — new gate wired into verify: so make ci fails if the committed catalog/certified charts are stale.

Workflows

  • ci.yml, publish-oci.yml, release.yml: use make update-chart-dependencies and install image-packer via make install-image-packer.
  • cve-report.yml: install image-packer via make install-image-packer and add bin/linux_amd64 to $GITHUB_PATH.

Regenerated charts

Running make update-catalog brought the previously-stale kubestash-certified / kubestash-certified-crds charts current with today's chart-packer output (certified subcharts now bundle crds/, certified-crds gained the config.kubernetes.io/local-config annotation). This matches what kubedb.dev/installer's committed certified charts already contain. The image list has no restic-plugin images, so imagelist.yaml and the copy/export/import scripts are unchanged.

kodiak-appscode[bot]
kodiak-appscode Bot previously approved these changes Jul 13, 2026
kodiak-appscode[bot]
kodiak-appscode Bot previously approved these changes Jul 13, 2026
- Add install-image-packer / install-chart-packer targets that fetch
  pinned binaries into bin/$(OS)_$(ARCH)
- Add update-chart-dependencies, update-certified-charts, update-catalog
  and verify-catalog targets; wire verify-catalog into verify
- Switch CI workflows to the new make targets for installing image-packer
  and updating chart dependencies
- Regenerate kubestash-certified / kubestash-certified-crds to match the
  current chart-packer output

Signed-off-by: Tamal Saha <tamal@appscode.com>
kodiak-appscode[bot]
kodiak-appscode Bot previously approved these changes Jul 13, 2026
The vendored subchart archives under charts/kubestash-certified/charts are
regenerated by `helm dependency update` and are not byte-reproducible across
helm versions, so committing them made `verify-catalog` fail in CI (the
runner's helm repackaged them differently). Match kubedb/installer: gitignore
`/charts/kubestash-certified/charts` and untrack the archives so they are
rebuilt on demand instead of being verified.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha
tamalsaha merged commit 8d96167 into master Jul 13, 2026
7 checks passed
@tamalsaha
tamalsaha deleted the catalog-make-targets branch July 13, 2026 07:46
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