-
Notifications
You must be signed in to change notification settings - Fork 30
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
enable docker load for hauler tarballs #320
Conversation
Seeing one issue with When RKE2/K3s loads the images, the repo metadata is lost. Using
That probably means hauler store add image needs some (potentially option?) to maintain the repo. |
Right now that is the functionality of We probably need to have a conversation about how we want to do this in the future and would require a larger lift. There are a few open and related tickets to this too. @atoy3731 @dweomer |
e21467f
to
081e875
Compare
can we get a bug report on this behavior? |
It's intended, albeit an outdated idea. When Hauler pulls in an image into its store, it tosses out the registry from the image ref on purpose. Mostly because of an idea that Haulers goal was to snag and relocate images to another registry and therefore the origin registry wasn't really needed. Now that Hauler does more than move images from registry to registry, we should have a conversation about changing this. It's handled in the cosign fork and not Hauler itself. (plus it's part of the upstream cosign PR) If you inspect the index.json in the oci layout. You'll see in the annotations that all of the image refs are just stripped of the registry. So now that we're using docker load, I guess it's adding the default of |
Thanks for the deeper dive on it @amartin120. Agreed that we need to chat on it. Hauler meeting next week? @dweomer there are two or three discussions and open I wouldn't classify it as a |
081e875
to
f1d8955
Compare
- fixes hauler-dev#276 Signed-off-by: Jacob Blain Christen <jacob.blain.christen@ranchergovernment.com>
f1d8955
to
562b074
Compare
@dweomer are you expecting any more updates to this PR or is it ready to be reviewed/tested/merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. There will be a follow-up PR for adjusting the imageRef to use a new annotation described here... #322
docker load
semantics for hauler bundles #276Signed-off-by: Jacob Blain Christen jacob.blain.christen@ranchergovernment.com