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.6] Handle unsupported config versions #10234

Conversation

dmcgowan
Copy link
Member

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.

Backport of #10165

Signed-off-by: Derek McGowan <derek@mcg.dev>
(cherry picked from commit 00347b7)
Signed-off-by: Derek McGowan <derek@mcg.dev>
@samuelkarp samuelkarp merged commit 12a9278 into containerd:release/1.6 May 15, 2024
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants