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

[release/1.7] Handle unsupported config versions #10165

Merged
merged 1 commit into from
May 3, 2024

Conversation

dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented May 3, 2024

Once 2.0 is released, the config version is bumped to 3 which is backwards incompatible with version 2. While we do not need to handle version 3 in 1.6 and 1.7 release, we should error out if the config version is higher than the max supported version. This will provide a clear error when an unsupported config version is used rather have containerd subtly error or use an unexpected configuration.

Signed-off-by: Derek McGowan <derek@mcg.dev>
@AkihiroSuda AkihiroSuda added the cherry-pick/1.6.x Change to be cherry picked to release/1.6 branch label May 3, 2024
@mxpv mxpv merged commit 4a15acf into containerd:release/1.7 May 3, 2024
56 checks passed
@dmcgowan dmcgowan added cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch and removed cherry-pick/1.6.x Change to be cherry picked to release/1.6 branch labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch impact/changelog size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants