helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Publish helm chart also as an OCI package (e.g. on GHCR registry)

Open mkilchhofer opened this issue 4 months ago • 0 comments

Preflight Checklist

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Problem Description

No problem, just an enhancement of the chart publish workflow

Proposed Solution

The helm chart is published using the classic approach with a static webserver and an index.yaml (GitHub pages).

helm repo add dex https://charts.dexidp.io
helm install --generate-name --wait dex/dex

However in helm 3.8+ the OCI method went GA:

  • https://blog.bitnami.com/2023/04/httpsblog.bitnami.com202304bitnami-helm-charts-now-oci.html?m=1
  • https://helm.sh/docs/topics/registries/
  • https://github.com/helm/helm/releases/tag/v3.8.0

I'd like to push the packaged helm charts also on ghcr.io (right besides the already existing container images) so we can pull/install the helm chart like this:

helm install dex oci://ghcr.io/dexidp/helm-charts/dex --version x.y.z

Alternatives Considered

Still using the classic approach with GitHub pages and the index.yaml

Additional Information

none

mkilchhofer avatar Apr 14 '24 20:04 mkilchhofer