Skip to content

[release/1.7] Handle unsupported config versions#10165

Merged
mxpv merged 1 commit intocontainerd:release/1.7from
dmcgowan:handle-version-3-configs
May 3, 2024
Merged

[release/1.7] Handle unsupported config versions#10165
mxpv merged 1 commit intocontainerd:release/1.7from
dmcgowan:handle-version-3-configs

Conversation

@dmcgowan
Copy link
Copy Markdown
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.

@mxpv mxpv merged commit 4a15acf into containerd:release/1.7 May 3, 2024
@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 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