Replies: 1 comment
-
data:
.dockerconfigjson: <Project Access Token>
type: kubernetes.io/dockerconfigjson I don't think that's how that works. Check the upstream docs for what the docker config.json file is supposed to contain. Its not just the bare token. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm quite new with k3s and Kairos OS, so maybe the question could be stupid. I'm trying to upgrade my Kairos OS through my k3s single-cluster using a docker image in my private Container Registry on GitLab. To do so, i'm trying to apply this Secret/Plan yaml file
The error that appears is 403: Forbiddend during the pull of the image, so the auth fails.
The Secret that contains the credential is succesfully mounted into the Plan pod, the token i use is correct (with the read-repository scope). Is the use of private registries supported? Maybe the gitlab credentials are stored in the wrong path? Alternatively, I also tried unsuccessfully using this path /root/.docker/config.json.
Beta Was this translation helpful? Give feedback.
All reactions