-
Notifications
You must be signed in to change notification settings - Fork 564
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
chore: move to containerd 2.0 API #8766
Conversation
Use a constant from Talos machinery to avoid importing containerd API. Required for siderolabs/talos#8766 Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
47424a2
to
888e56b
Compare
/ok-to-test |
28efc43
to
5bacc9d
Compare
This only updates the binaries, the API update will be handled via PR siderolabs#8766. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This only updates the binaries, the API update will be handled via PR siderolabs#8766. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This only updates the binaries, the API update will be handled via PR siderolabs#8766. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
8e28668
to
1c9075d
Compare
@@ -95,11 +92,6 @@ func Pull(ctx context.Context, reg config.Registries, client *containerd.Client, | |||
containerd.WithPullUnpack, | |||
containerd.WithResolver(resolver), | |||
containerd.WithChildLabelMap(images.ChildGCLabelsFilterLayers), | |||
containerd.WithUnpackOpts( | |||
[]containerd.UnpackOpt{ | |||
containerd.WithUnpackDuplicationSuppressor(unpackDuplicationSuppressor), |
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.
not needed anymore?
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.
we can't use it anymore (as the required parts became private), but I don't think we need it, as this is only needed when multiple requests for the same image to be pulled arrive.
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.
and it's only an optimization - it makes such pull operations run faster
Lots of module moves/renames. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
1c9075d
to
c2b19dc
Compare
/m |
Lots of module moves/renames.