Gitlab private docker registry

Hello,

Is it possible to pull docker image from private docker registry, not Ovh Managed Private Registry. I use Gitlab to build my docker images and Gitlab.com offer Container registry.

I follow this doc:
https://docs.ovh.com/gb/en/private-registry/using-private-registry-with-kubernetes/

result:
Failed to pull image "registry.gitlab.com/XXX/XXX:latest": rpc error: code = Unknown desc = failed to pull and unpack image "registry.gitlab.com/XXX/XXX:latest": failed to resolve reference "registry.gitlab.com/XXX/XXX:latest": failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden

Many thanks for your answers.

My bad.

I forgot `imagePullSecrets`