Skip to content

Commit e24864e

Browse files
committed
Clarify release for deprecated registry field removals
RELEASES.md specifies these will be removed in 2.1: https://github.com/containerd/containerd/blob/v2.0.0/RELEASES.md#deprecated-config-properties Signed-off-by: Chris Henzie <[email protected]>
1 parent f0ebbd3 commit e24864e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

internal/cri/config/config.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,18 @@ type Registry struct {
220220
ConfigPath string `toml:"config_path" json:"configPath"`
221221
// Mirrors are namespace to mirror mapping for all namespaces.
222222
// This option will not be used when ConfigPath is provided.
223-
// DEPRECATED: Use ConfigPath instead. Remove in containerd 2.0.
223+
// DEPRECATED: Use ConfigPath instead. Remove in containerd 2.1.
224+
// Supported in 1.x releases.
224225
Mirrors map[string]Mirror `toml:"mirrors" json:"mirrors"`
225226
// Configs are configs for each registry.
226227
// The key is the domain name or IP of the registry.
227-
// DEPRECATED: Use ConfigPath instead.
228+
// DEPRECATED: Use ConfigPath instead. Remove in containerd 2.1.
229+
// Supported in 1.x releases.
228230
Configs map[string]RegistryConfig `toml:"configs" json:"configs"`
229231
// Auths are registry endpoint to auth config mapping. The registry endpoint must
230232
// be a valid url with host specified.
231-
// DEPRECATED: Use ConfigPath instead. Remove in containerd 2.0, supported in 1.x releases.
233+
// DEPRECATED: Use ConfigPath instead. Remove in containerd 2.1.
234+
// Supported in 1.x releases.
232235
Auths map[string]AuthConfig `toml:"auths" json:"auths"`
233236
// Headers adds additional HTTP headers that get sent to all registries
234237
Headers map[string][]string `toml:"headers" json:"headers"`

0 commit comments

Comments
 (0)