Skip to content

HIP: separate OCI pull identity from chart identity for dependencies - #444

Closed
blueprismo wants to merge 1 commit into
helm:mainfrom
blueprismo:hip-oci-dependency-artifact-name
Closed

HIP: separate OCI pull identity from chart identity for dependencies#444
blueprismo wants to merge 1 commit into
helm:mainfrom
blueprismo:hip-oci-dependency-artifact-name

Conversation

@blueprismo

Copy link
Copy Markdown

Summary

Adds a HIP proposing an optional artifactName field on dependencies[] entries in Chart.yaml, so the OCI pull basename can be set separately from the chart's own identity (name).

Today dependencies[].name doubles as both the chart identity helm lint checks against the vendored subchart's own Chart.yaml name, and the basename Helm appends to build the OCI pull reference (oci://<repo>/<name>:<version>). When a chart is published or mirrored under a registry path whose basename differs from its own name, there's no way to satisfy both roles: helm dependency update can pull the chart, but helm lint then fails with a paired error/warning.

The proposed field is opt-in and backward compatible: if unset, the pull basename still falls back to name exactly as today.

Addresses helm/helm#32529, where this was discussed and a HIP was requested before implementation.

A reference implementation exists locally covering pkg/chart/v2/dependency.go, pkg/downloader/manager.go, and internal/resolver/resolver.go, with unit and end-to-end test coverage. That PR against helm/helm will follow once this HIP has been reviewed.

Note: #443 proposes a very similar design independently; happy to have the two reconciled/merged during review.

Test plan

  • Maintainer review of the proposal itself (this is a HIP, not code)

Proposes an optional artifactName field on dependencies[] entries in
Chart.yaml so the OCI pull basename can differ from the chart's own
identity (name), fixing the lint/dependency-update mismatch reported
in helm/helm#32529 for registry-mirrored or renamed OCI charts.

Signed-off-by: Enin <enin.kaduk@docker.com>
BeganovR added a commit to BeganovR/community that referenced this pull request Aug 13, 2026
blueprismo (Enin Kaduk) independently proposed the same design in
helm#444 and agreed to consolidate on this HIP, so credit
him as a co-author here.

Signed-off-by: BeganovR <446110@niuitmo.ru>
@blueprismo blueprismo closed this Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant