Add support for using a host registry dir in cri
This will be used instead of the cri registry config in the main config toml. --- Also pulls in changes from containerd/cri@d0b4eecbb3 Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
@@ -237,6 +237,11 @@ version = 2
|
||||
|
||||
# 'plugins."io.containerd.grpc.v1.cri".registry' contains config related to the registry
|
||||
[plugins."io.containerd.grpc.v1.cri".registry]
|
||||
# Specifies a directory to look for registry configs in.
|
||||
# Dir can be used just like /etc/docker/certs.d OR can contain a hosts.toml with more specific configurations.
|
||||
#
|
||||
# NOTE: Specifying this will cause the cri plugin to ignore any other registry configs specified in this configuration file.
|
||||
config_path = "/etc/containerd/certs.d"
|
||||
|
||||
# 'plugins."io.containerd.grpc.v1.cri.registry.headers sets the http request headers to send for all registry requests
|
||||
[plugins."io.containerd.grpc.v1.cri".registry.headers]
|
||||
|
||||
Reference in New Issue
Block a user