Skip to content

Commit f9146c0

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]>
1 parent c3bed76 commit f9146c0

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
@@ -46,11 +46,11 @@ var messages = map[Warning]string{
4646
PullSchema1Image: "Schema 1 images are deprecated since containerd v1.7, disabled in containerd v2.0, and will be removed in containerd v2.1. " +
4747
`Since containerd v1.7.8, schema 1 images are identified by the "io.containerd.image/converted-docker-schema1" label.`,
4848
GoPluginLibrary: "Dynamically-linked Go plugins as containerd runtimes are deprecated since containerd v2.0 and removed in containerd v2.1.",
49-
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." +
49+
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." +
5050
"Use `config_path` instead.",
51-
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." +
51+
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." +
5252
"Use `ImagePullSecrets` instead.",
53-
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." +
53+
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." +
5454
"Use `config_path` instead.",
5555

5656
TracingOTLPConfig: "The `otlp` property of `[plugins.\"io.containerd.tracing.processor.v1\".otlp]` is deprecated since containerd v1.6 and will be removed in containerd v2.0." +

0 commit comments

Comments
 (0)