kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Support OCI images in addition to git

Open bgrant0607 opened this issue 4 years ago • 6 comments

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/ https://github.com/helm/helm/issues/6068 https://github.com/open-policy-agent/opa/issues/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

bgrant0607 avatar Jun 22 '21 14:06 bgrant0607

@phanimarupaka @droot @mengqiy bumping this up since we got a customer request on for non-git package sources.

mikebz avatar Sep 09 '21 16:09 mikebz

could be good to fit this into a larger roadmap and reference this request, I know that the work to do non-git upstream and support resource-merge is not trivial.

mikebz avatar Sep 09 '21 17:09 mikebz

Yet another example where this would be useful: https://cloud.google.com/migrate/anthos/docs/migctl-reference#migctl-artifacts-repo-create

bgrant0607 avatar Nov 04 '21 14:11 bgrant0607

We will eventually want to support signing and verification. https://helm.sh/docs/topics/provenance/

bgrant0607 avatar Nov 18 '21 03:11 bgrant0607

Another example: https://kustomizer.dev/

bgrant0607 avatar Feb 04 '22 18:02 bgrant0607

Is there some kind of ETA for this feature?

stoetti avatar Sep 12 '22 09:09 stoetti

+1 on ETA for this feature please. Our environment is very restrictive and does not allow pull from github in our pipelines.

newtondev avatar Dec 29 '22 14:12 newtondev