juicedata / juicefs-csi-driver

JuiceFS CSI Driver
https://github.com/juicedata/juicefs
Apache License 2.0
214 stars 82 forks source link

[BUG] container registry credentials are not provided for cleancache-pods #533

Closed TheIronFlo closed 1 year ago

TheIronFlo commented 1 year ago

What happened:

cleancache-pods go into error state ImagePullBackOff,

Failed to pull image "<privateregistry>/juicefs-mount_base_dev": rpc error: code = Unknown desc = failed to pull and unpack image "<privateregistry>/juicefs-mount_base_dev:latest": failed to resolve reference "<privateregistry>/juicefs-mount_base_dev:latest": failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden

The same image is used for the mount pods (where it works)

What you expected to happen:

Downloading the image from Gitlab container registry

How to reproduce it (as minimally and precisely as possible):

Use private Gitlab container registry for mount-pods

Anything else we need to know?

Environment:

TheIronFlo commented 1 year ago

I think we can close the issue, the secret is provided later as I see