Konubinix' opinionated web of thoughts

Use Dockerhub From Inside Kubernetes

Fleeting

use dockerhub from inside kubernetes

The access token is just an other password. You can create your secret as you would do with a normal password.

https://forums.docker.com/t/access-image-with-access-token-from-kubernetes/125727

see generate/renew a dockerhub token

then

kubectl create secret docker-registry dockerhub-registry --docker-server=https://index.docker.io/v1/ --docker-username=<username> --docker-password=<token>