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

Skip status response verification for containerd v2 #581

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

jfroy
Copy link
Contributor

@jfroy jfroy commented Sep 10, 2024

containerd v2 refactored its config structures/objects and the configuration that spegel is verifying in verifyStatusResponse is no longer returned. This patch adds a version check to Verify to allow spegel to skip the verification and take it on blind faith that it is configured correctly to work.

Fixes #579

@phillebaba
Copy link
Member

@jfroy could you rebase and add an entry to the changelog and we should be ok to merge.

Copy link

codecov bot commented Oct 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/oci/containerd.go 0.00% 16 Missing ⚠️
Files with missing lines Coverage Δ
pkg/oci/containerd.go 56.86% <0.00%> (-2.73%) ⬇️

@jfroy
Copy link
Contributor Author

jfroy commented Oct 6, 2024

@jfroy could you rebase and add an entry to the changelog and we should be ok to merge.

Sure thing, will do later tonight (PST).

Signed-off-by: Jean-Francois Roy <jf@devklog.net>
Copy link
Member

@phillebaba phillebaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🌹

@phillebaba phillebaba merged commit c1ccea9 into spegel-org:main Oct 7, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

verifyStatusResponse does not work with containerd v2
2 participants