-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add details around package management procedures (pull, push, etc) #754
Comments
I can take a look at this next week, I just wanted to make sure the issue got created before I forget. |
I remember someone mentioning to use crane to copy images between registries instead of docker and one of the reasons being exactly that docker didn't preserve the manifest when pushing. 😅 |
|
|
That worked - the package was pushed to the target repo with the layer annotations intact. |
One other piece of complexity - the packages on xpkg.upbound.io are multi-architecture, so the following doesn't work:
I have to pull the manifest for the base package and then use the sha256 value for the architecture that I want
|
What's Missing?
Crossplane package reconciliation relies on layer annotations that are only applied when
crossplane xpkg push
is used to push a package into a registry. While it is physically possible to usedocker pull
,tag
,push
and other container-based commands to move packages around, they will not add the layer annotations required by Crossplane to efficiently cache and reconcile the packages.There should be some specific information in the Packages section that details the fact that
docker pull
,tag
,push
can be used but will not add the layer annotations that Crossplane needs. Commands such ascrane pull
can be used to retrieve the Package from a registry, andcrossplane xpkg push
is currently the only "official" way to push packages to a registry with the associated annotations.Some related Crossplane issues on the topic:
crossplane/crossplane#5579
crossplane/crossplane#5580
The text was updated successfully, but these errors were encountered: