illegal base64 data at input byte 8

12/10/2019

Trying to apply deployment.yaml but I got error illegal base64 data at input byte 8.

In my config.json

"auths": {
        "https://index.docker.io/v1/": {
            "auth": "16c...ad7"
        }
    }

I have put token from the docker hub

Register the secret

kubectl create secret generic regcred --from-file=.dockerconfigjson=C:\Users\Herman\.docker\config.json --type=kubernetes.io/dockerconfigjson

in my .yaml my imagePullSecrets: - name: regcred

anybody can help?

-- Herman
kubectl
kubernetes
minikube

0 Answers