config: drop registries field as it is no longer supported
@@ -410,11 +410,6 @@ func initCrioTemplateConfig(c *Config) ([]*templateConfigValue, error) {
group: crioImageConfig,
isDefaultValue: simpleEqual(dc.ImageVolumes, c.ImageVolumes),
},
- {
- templateString: templateStringCrioImageRegistries,
- group: crioImageConfig,
- isDefaultValue: stringSliceEqual(dc.Registries, c.Registries),
- },
{
templateString: templateStringCrioImageBigFilesTemporaryDir,
group: crioImageConfig,
@@ -1061,16 +1056,6 @@ image_volumes = "{{ .ImageVolumes }}"
`
-const templateStringCrioImageRegistries = `# List of registries to be used when pulling an unqualified image (e.g.,
-# "alpine:latest"). By default, registries is set to "docker.io" for
-# compatibility reasons. Depending on your workload and usecase you may add more
-# registries (e.g., "quay.io", "registry.fedoraproject.org",
-# "registry.opensuse.org", etc.).
-registries = [
-{{ range $opt := .Registries }}{{ printf "\t%q,\n" $opt }}{{ end }}]
-
-`
-
const templateStringCrioImageBigFilesTemporaryDir = `# Temporary directory to use for storing big files
big_files_temporary_dir = "{{ .BigFilesTemporaryDir }}"
