Skip to content

Support OCI images in addition to git #2300

@bgrant0607

Description

@bgrant0607

Support for OCI images would facilitate automated generation and serving of kpt package versions, particularly in production environments. Every Kubernetes cluster must have an OCI registry accessible. OCI registries have more standardized APIs and authentication methods than git providers. OCI images have standardized metadata and file formats. They can be versioned similarly to git, with digests and tags. We would just need a sequential versioning convention.

It's increasingly common for all types of packages to be stored using OCI. Configuration/policy-related examples:
https://github.com/oras-project/oras
https://carvel.dev/imgpkg/
helm/helm#6068
open-policy-agent/opa#1413
https://github.com/tektoncd/community/blob/main/teps/0005-tekton-oci-bundles.md
https://github.com/cnabio/cnab-spec/blob/main/201-representing-CNAB-in-OCI.md
https://crossplane.io/docs/v1.2/concepts/packages.html
https://werf.io/documentation/v1.2/advanced/bundles.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/pkgenhancementNew feature or requesttriagedIssue has been triaged by adding an `area/` label

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions