Hello,
I am currently facing an issue blocking me from pulling images from my Private Gitlab Container Registry. I am using JupyterHub Kubernetes deployment via Helm.
Image and secret configuration:
singleuser:
image:
name: myapp.com/repo-name/myimage
tag: '0.1'
imagePullSecret:
email: <email>
enabled: true
password: <password>
registry: myapp.com
username: <username>
Failed to pull image "myurl.com/myimage:0.1":
rpc error: code = Unknown desc = Error response from daemon:
Get https://myurl.com/v2/repo-name/myimage/manifests/0.1: denied: access forbidden
I believe the v2
and manifests
appended to the URL are specific to DockerHub, causing it to return forbidden. The docs mention DockerHub is used by default, is there an option or flag I am missing to override this?
I have verified:
- The credentials are correct
-
singleuser-image-credentials
pre-pull Kubernetes secret is created with correct credentials
Any help on this is greatly appreciated!