You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node(s) CPU architecture, OS, and Version:
Linux ubuntu 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Docker version 20.10.7, build f0df350
Cluster Configuration: single node install
Describe the bug:
K3S does not apply docker private (Google Cloud Registry - GCR) credentials when put to registries.yaml
FATA[2021-07-15T10:23:10.690690133Z] pulling image: rpc error: code = Unknown desc = Error response from daemon: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication
Additional context / logs:
Some things such as project names has been redacted. SIlmilar issues #1610#2367
The text was updated successfully, but these errors were encountered:
Because docker login stores credentials in your home directory, and these credentials are passed into the docker daemon when you run docker pull from your shell. K3s does not have access to these credentials. If you want to use authenticated image pulls with Docker, you probably want to use Kubernetes Image Pull Secrets.
Environmental Info:
K3s Version: v1.20.8+k3s1 (5d0a12a)
Node(s) CPU architecture, OS, and Version:
Linux ubuntu 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Docker version 20.10.7, build f0df350
Cluster Configuration: single node install
Describe the bug:
K3S does not apply docker private (Google Cloud Registry - GCR) credentials when put to registries.yaml
Steps To Reproduce:
Filled in with:
(tried also escaping the new lines etc.)
Expected behavior:
It works
Actual behavior:
k3s crictl -D pull eu.gcr.io/test/test:latest
Gives an error of:
FATA[2021-07-15T10:23:10.690690133Z] pulling image: rpc error: code = Unknown desc = Error response from daemon: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication
Additional context / logs:
Some things such as project names has been redacted. SIlmilar issues #1610 #2367
The text was updated successfully, but these errors were encountered: