Skip to content

feat(helm): add Helm OCI chart publishing#6480

Draft
rektide wants to merge 1 commit into
kubernetes-sigs:masterfrom
rektide:helm-oci
Draft

feat(helm): add Helm OCI chart publishing#6480
rektide wants to merge 1 commit into
kubernetes-sigs:masterfrom
rektide:helm-oci

Conversation

@rektide

@rektide rektide commented Jun 9, 2026

Copy link
Copy Markdown

What does it do ?

This is yet another draft attempt to try to add Helm OCI chart publishing, resolving #4630. This is presented for discussion primarily.

Motivation

Helm users are increasingly used to managing and consuming Charts via OCI, which offers a more standardized common way to access repositories than the bespoke Helm repositories of yore. There are however quite a variety of different implementations across projects. This draft is intended to offer a viable, for consideration of ideas, that distills out a solution based on what existing projects are doing, to help get thoughts flowing about what might be the right way to go. This draft is presented for discussion.

Note

There is also kubernetes-sigs/metrics-server#1817, which is another Helm OCI Chart I've tried drafting. See kubernetes-sigs/metrics-server#1527 for more discussion in general.

More

  • Yes, this PR title follows Conventional Commits
  • Yes, I added unit tests
  • Yes, I updated end user documentation accordingly

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 9, 2026
@k8s-ci-robot k8s-ci-robot requested a review from mloiseleur June 9, 2026 23:25
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 9, 2026

Copy link
Copy Markdown

CLA Signed

@k8s-ci-robot k8s-ci-robot requested a review from szuecs June 9, 2026 23:25
@k8s-ci-robot k8s-ci-robot added docs scripts Issues or PRs related to internal scripts cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jun 9, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

Welcome @rektide!

It looks like this is your first PR to kubernetes-sigs/external-dns 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/external-dns has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 9, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

Hi @rektide. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 9, 2026
@rektide rektide closed this Jun 10, 2026
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 10, 2026
@rektide rektide reopened this Jun 10, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign szuecs for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 10, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: rektide / name: rektide (7e65a05)

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign szuecs for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jun 10, 2026
@ivankatliarchuk

Copy link
Copy Markdown
Member

We don't have access to google cloud

@ivankatliarchuk

Copy link
Copy Markdown
Member

It's not that we're opposed to OCI support; the problem is that it's an Kubernetes+CNCF ecosystem is driven buy some opinionated individuals and we simply don't have the infrastructure for for that.

Helm isn't an official distribution mechanism, which is why it hasn't gained traction.

@jseiser

jseiser commented Jun 12, 2026

Copy link
Copy Markdown

It would be awesome if you DID publish the OCI artifact. We have a ton of semi-airgapped environments, whose only access to the outside world are through things like Nexus Proxies etc.

If you did something like this https://github.com/cloudnative-pg/charts/blob/main/.github/workflows/release-publish.yml#L61 and just published the chart to the Github Container Registry, we could pull it through the existing github docker proxies. Currently we have to maintain a specific copy of this helm chart's helm proxy.

its not world ending or anything, its just another thing to maintain.

Comment thread cloudbuild.yaml
- |
set -o pipefail

if [[ "$_PULL_BASE_REF" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$ ]]; then

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the tag for helm chart is not vX.Y.Z, it's more like external-dns-helm-chart-1.21.1

@mloiseleur

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. docs needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. scripts Issues or PRs related to internal scripts size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants