-
Notifications
You must be signed in to change notification settings - Fork 11
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
Pull preloaded images based on digest, not tag #227
base: main
Are you sure you want to change the base?
Conversation
efa32c3
to
2d38c24
Compare
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!
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tenstad The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Capturing discussion I remember from standup this morning:
I don't think either of the above are blockers and I don't have time to actually review this PR - just trying to capture the discussion here. |
There's been a more recent kind release: https://github.com/kubernetes-sigs/kind/releases/tag/v0.26.0 I wonder if bumping to that is a short-term fix for the kind issues affecting CI? |
See #228 |
|
Signed-off-by: Tim Ramlot <[email protected]>
db8c47c
to
e75e0dd
Compare
Just adding here that I spent some time looking for other solutions by pulling various image in tarball and oci format. Basically what @inteon has done seems to be sensible. I'd suggest that we trust kind images when they retag them, moving their version tags to new digests. It seems kind does not support importing the OCI format images, only tarball. And when pulling a digest bases tarball... you don't get the actual tag in the manifest.json... even id you do @. |
Fixes a long-standing issue where images were preloaded by tag instead of digest causing the digest check to fail when the upstream image changed.
Now, the images are pulled by digest, we modify the pulled tarball to have the desired image tag and we use the tarball that way.
Is a long-term fix for the issue we tried to fix here: #224