Skip to content

fix: allow pre-v3.7.0 HELM Charts in HELM OCI Artifact downloader (#1476)#1479

Merged
jakobmoellerdev merged 1 commit into
open-component-model:releases/v0.23from
jakobmoellerdev:helm-legacy-download-capability-v0.23
May 21, 2025
Merged

fix: allow pre-v3.7.0 HELM Charts in HELM OCI Artifact downloader (#1476)#1479
jakobmoellerdev merged 1 commit into
open-component-model:releases/v0.23from
jakobmoellerdev:helm-legacy-download-capability-v0.23

Conversation

@jakobmoellerdev
Copy link
Copy Markdown
Member

What this PR does / why we need it

The release of Helm v3.7.0 included the implementation of HIP 6 for OCI support. The chart layer media type was switched from application/tar+gzip to
application/vnd.cncf.helm.chart.content.v1.tar+gzip.

To support HELM Charts created before this version, we should maintain compatibility with a legacy layer detection.

This implements this detection to make sure we don't have breaking changes after our recent adjustment to media type based checking.

See
https://helm.sh/docs/topics/registries/#oci-feature-deprecation-and-behavior-changes-with-v370 for context

Which issue(s) this PR fixes

fix #1469

relates to #1470 and needs to be backported the same

(cherry picked from commit 729a19f)

…en-component-model#1476)

<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

The release of Helm v3.7.0 included the implementation of HIP 6 for OCI
support. The chart layer media type was switched from
application/tar+gzip to
application/vnd.cncf.helm.chart.content.v1.tar+gzip.

To support HELM Charts created before this version, we should maintain
compatibility with a legacy layer detection.

This implements this detection to make sure we don't have breaking
changes after our recent adjustment to media type based checking.

See
https://helm.sh/docs/topics/registries/#oci-feature-deprecation-and-behavior-changes-with-v370
for context

#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
fix open-component-model#1469

relates to open-component-model#1470 and
needs to be backported the same

(cherry picked from commit 729a19f)
@jakobmoellerdev jakobmoellerdev requested a review from a team as a code owner May 21, 2025 10:46
@jakobmoellerdev jakobmoellerdev merged commit 2817b07 into open-component-model:releases/v0.23 May 21, 2025
19 checks passed
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.

2 participants