-
Notifications
You must be signed in to change notification settings - Fork 890
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
Publish Jenkins Helm charts to an OCI registry #1180
Comments
What benefit does this give? DockerHub would probably be my preference, but GitHub container registry might be the easiest. |
Use standard registry, no scalling issue with the index.yaml, eventually attach attestation etc...
Probably will change the way the chart is released (similar to the Jenkins container image ? trusted ci ?) |
For GitHub no secrets would be required. For docker hub we can probably add a GitHub secret |
Resources helm/chart-releaser-action#107 Nothing to do atannotation level. The package would be directly referenced to the correct repo because of the first URL in the source sources:
- https://github.com/jenkinsci/jenkins I did also some test with my fork and helm publish work well helm package charts/jenkins
helm registry login ghcr.io -u <username> There are other repositories that publish their charts on both traditional and OCI storage: https://github.com/fluxcd-community/helm-charts/pkgs/container/charts%2Fflux2 It would allow consumer their prefered way of consuming the artifact |
I think you just forgot to make the package public: $ helm install jenkins oci://ghcr.io/jenkinsci/helm-charts/jenkins
Error: INSTALLATION FAILED: GET "https://ghcr.io/v2/jenkinsci/helm-charts/jenkins/tags/list": unexpected status code 403: denied: permission_denied: read_package There should be a setting to make it public at https://ghcr.io/jenkinsci/helm-charts/jenkins. |
Updated, @jonesbusy did you want to also update the README with the installation instructions here? https://github.com/jenkinsci/helm-charts/pkgs/container/helm-charts%2Fjenkins#usage |
Sure I will open a PR tomorrow with OCI details |
Is your feature request related to a problem? Please describe
This is to track about publishing the chart into OCI registry instead of the "legacy" format
The index is now stored on https://charts.jenkins.io/index.yaml which is the legacy helm YAML format. Recent Helm version (since 3.8) seems to move to the standard OCI format
What are your though about that ?
Probably something that could be discussed with Jenkins infra team as well
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: