Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm chart CD #236

Open
vdice opened this issue Oct 23, 2024 · 0 comments
Open

Helm chart CD #236

vdice opened this issue Oct 23, 2024 · 0 comments

Comments

@vdice
Copy link
Collaborator

vdice commented Oct 23, 2024

This project has a pre-existing Release helm chart workflow, but I don't think it has actually released the chart yet. Maybe @voigt can double-check?

The workflow uses the helm/chart-releaser GitHub action which does the following:

It does this – during every push to main – by checking each chart in your project, and whenever there's a new chart version, creates a corresponding GitHub release named for the chart version, adds Helm chart artifacts to the release, and creates or updates an index.yaml file with metadata about those releases, which is then hosted on GitHub Pages. You do not need an index.yaml file in main at all because it is managed in the gh-pages branch.

Do we like this process and want to continue using this action?

Another approach, slightly lighter-weight, would be to set up CD to publish the chart as an artifact to the GitHub Container Registry for this repo (eg ghcr.io/spinkube/charts/runtime-class-manager) and then users can install via helm using the oci:// reference functionality, eg helm install ... oci://ghcr.io/spinkube/charts/runtime-class-manager. Then we don't need to host ye olde chart index.yaml or create a GH release to hold artifacts, etc. (Helm has supported pulling from OCI registries for a few years now, since ~3.8.0)

Thoughts?

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

No branches or pull requests

2 participants