Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider generating OCI-native packages #5580

Open
bobh66 opened this issue Apr 12, 2024 · 1 comment
Open

Consider generating OCI-native packages #5580

bobh66 opened this issue Apr 12, 2024 · 1 comment
Labels

Comments

@bobh66
Copy link
Contributor

bobh66 commented Apr 12, 2024

What problem are you facing?

Crossplane packages are docker-compliant but they require some logic in crossplane xpkg push to implement the layer annotations that Crossplane relies upon to efficiently cache and reconcile the packages.

This makes package management (pull, push, etc) dependent on the crossplane CLI, and it would be useful to decouple that relationship so that full-functional Crossplane packages can be pushed/pulled/etc by other tools such as crane.

How could Crossplane help solve your problem?

Provide an option to crossplane xpkg build that generates a fully OCI-compliant package with the layer annotations specified in the manifest.json so that no custom logic is required to push the packages to a registry and annotate the layers based on the Labels stored in the Config section.

This is probably a lot harder than it sounds, but I wanted to at least get the idea out for discussion.

@negz
Copy link
Member

negz commented Apr 18, 2024

@bobh66 I'm not following what the output of the crossplane xpkg build variant you're proposing is. Would it be an on-disk OCI Image Layout ala https://pkg.go.dev/github.com/google/go-containerregistry@v0.19.1/pkg/v1/layout?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants