Skip to content

Conversation

@medmes
Copy link
Member

@medmes medmes commented Nov 19, 2025

Description
This PR adds support for gzip-compressed OCI artifacts in lifecycle-manager, enabling compatibility with modulectl 2.x + OCM CLI workflow.

Changes proposed in this pull request:

  • pathextractor.go: Added automatic gzip detection and decompression when reading tar files from disk.
  • parse.go Extended mediaType recognition to support both application/x-tar and `application/x-tgz.

https://github.com/kyma-project/modulectl/blob/f92adedb9b1df138a5825a4ff5f4a933a2d94ec0/internal/common/types/component/constructor.go#L188

Related issue(s)
kyma-project/modulectl#287

@medmes medmes requested a review from a team as a code owner November 19, 2025 21:25
@medmes medmes changed the title fix: Support gzip-compressed OCI artifacts (application/x-tgz). fix: Support gzip compressed OCI artifacts application/x-tgz Nov 19, 2025
@medmes medmes self-assigned this Nov 19, 2025
This enables KLM to handle OCI artifacts compressed with gzip,
which are generated by modulectl 2.x + OCM CLI workflow.
@medmes medmes force-pushed the fix/support-gzip-compressed-oci-artifacts branch from 6737cc9 to 4c089d6 Compare November 20, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants