#10996·containerd

ImagePullSecrets 不能与注册表镜像一起使用。

作者: markx创建于 2024年11月12日更新于 2026年9月30日
标签impact/deprecationkind/questionarea/distributionstatus/accepted

在 https://containerd.io/releases/#deprecated-config-properties 中提到,在 v2.1 中,`[plugins."io.containerd.grpc.v1.cri".registry]` `auths` 将被删除,替换为使用 `ImagePullSecrets`。但是,`ImagePullSecrets` 不能与镜像一起使用,因为 kubelet 只会将拉取的镜像的原始主机的凭据传递给 containerd。是否有计划添加一个能够与镜像一起使用的替代方案?#8228 是解决方案吗?是否仍然计划在主机配置中添加凭据,如 https://GitHub.com/containerd/containerd/blob/main/core/remotes/Docker/config/hosts.go#L57 中建议的那样?

内容来源: containerd/containerd