#10996·containerd

ImagePullSecrets doesn't work with registry mirror.

Author: markxCreated Nov 12, 2024Updated Sep 30, 2026
Labelsimpact/deprecationkind/questionarea/distributionstatus/accepted

It's mentioned in https://containerd.io/releases/#deprecated-config-properties that [plugins."io.containerd.grpc.v1.cri".registry] auths will be removed on v2.1, and the replacement is to use ImagePullSecrets.

However ImagePullSecrets doesn't work with mirrors, as kubelet only passes containerd the creds for the original host of the pulled image.

Is there plan to add a replacement that works with mirrors?
Is #8228 the solution? Is there still plan to add creds in host config, as suggested in https://github.com/containerd/containerd/blob/main/core/remotes/docker/config/hosts.go#L57