Skip to content

Commit 9afb8dc

Browse files
committed
deprecation: update warnings for CRI config fields
Some CRI config properties had removal postponed until v2.1 in containerd#9966. Update the associated deprecation warnings to match the new removal version. Signed-off-by: Samuel Karp <[email protected]> (cherry picked from commit f9146c0) Signed-off-by: Samuel Karp <[email protected]>
1 parent 36a3e96 commit 9afb8dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/deprecation/deprecation.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ var messages = map[Warning]string{
7373
"Use a v2 runtime and `options` instead.",
7474
CRIRuntimeRoot: "The `runtime_root` property of [plugins.\"io.containerd.grpc.v1.cri\".containerd.runtimes.*] is deprecated since containerd v1.3 and will be removed in containerd v2.0. " +
7575
"Use a v2 runtime and `options.Root` instead.",
76-
CRIRegistryMirrors: "The `mirrors` property of `[plugins.\"io.containerd.grpc.v1.cri\".registry]` is deprecated since containerd v1.5 and will be removed in containerd v2.0. " +
76+
CRIRegistryMirrors: "The `mirrors` property of `[plugins.\"io.containerd.grpc.v1.cri\".registry]` is deprecated since containerd v1.5 and will be removed in containerd v2.1. " +
7777
"Use `config_path` instead.",
78-
CRIRegistryAuths: "The `auths` property of `[plugins.\"io.containerd.grpc.v1.cri\".registry]` is deprecated since containerd v1.3 and will be removed in containerd v2.0. " +
78+
CRIRegistryAuths: "The `auths` property of `[plugins.\"io.containerd.grpc.v1.cri\".registry]` is deprecated since containerd v1.3 and will be removed in containerd v2.1. " +
7979
"Use `ImagePullSecrets` instead.",
80-
CRIRegistryConfigs: "The `configs` property of `[plugins.\"io.containerd.grpc.v1.cri\".registry]` is deprecated since containerd v1.5 and will be removed in containerd v2.0. " +
80+
CRIRegistryConfigs: "The `configs` property of `[plugins.\"io.containerd.grpc.v1.cri\".registry]` is deprecated since containerd v1.5 and will be removed in containerd v2.1. " +
8181
"Use `config_path` instead.",
8282
CRIAPIV1Alpha2: "CRI API v1alpha2 is deprecated since containerd v1.7 and removed in containerd v2.0. Use CRI API v1 instead.",
8383
AUFSSnapshotter: "The aufs snapshotter is deprecated since containerd v1.5 and removed in containerd v2.0. Use the overlay snapshotter instead.",

0 commit comments

Comments
 (0)