This message was deleted.
# kubernetes
s
This message was deleted.
l
I’m one step further: I updated the value to the base64 encoded version of
<username>:<personal access token>
. When testing locally with a
~/.docker/config.json
, the error is gone and I can retrieve images on my Mac. The credentials from the keychain are fully disabled. But I still can’t retrieve the private images on Kubernetes. It still has the base64 error message. According the Docker docs:
personal access tokens can now be used as a substitute for your password in Docker Hub
https://www.docker.com/blog/docker-hub-new-personal-access-tokens/
Solved! Note to self: first base64 encode the secret in the form of
<username>:<personal access token>
, then use that value as the
value
in the example above.