Skip to content

Support gzip for OCI artifact layers #321

@milas

Description

@milas

Enhancement

Use application/vnd.oci.image.layer.v1.tar+gzip for layers instead of plain .tar.

Why?

Although KCL code is quite small, so the savings are negligible, many tools will only work with GZIP'd layers.

For example, the Flux OCIRepository:

Note that the selected OCI layer must be compressed in the tar+gzip format.

Specifically, I am publishing KCL modules that have both KCL source as well as the raw CRD YAML for Kubernetes. This way, I can actually use that same OCI bundle to create the types on the cluster as I use to template objects of those types w/ KCL!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions