You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Copy file name to clipboardExpand all lines: pkg/deprecation/deprecation.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -73,11 +73,11 @@ var messages = map[Warning]string{
73
73
"Use a v2 runtime and `options` instead.",
74
74
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. "+
75
75
"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. "+
77
77
"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. "+
79
79
"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. "+
81
81
"Use `config_path` instead.",
82
82
CRIAPIV1Alpha2: "CRI API v1alpha2 is deprecated since containerd v1.7 and removed in containerd v2.0. Use CRI API v1 instead.",
83
83
AUFSSnapshotter: "The aufs snapshotter is deprecated since containerd v1.5 and removed in containerd v2.0. Use the overlay snapshotter instead.",
0 commit comments