Skip to content

ImagePullSecrets doesn't work with registry mirror. #10996

@markx

Description

@markx

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions