This message was deleted.
# fleet
a
This message was deleted.
a
How did you create a secret?
p
Honestly I don't remember, as we've manifest file of the secret and we pass this secret to registry-creds which creates this secret in all namespaces, but at first I probably created the secret using this command,
Copy code
kubectl create secret docker-registry regcred --docker-server=<your-registry-server> --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>
stringdata of the secret,
Copy code
stringData:
  .dockerconfigjson: '{"auths":{"<https://index.docker.io/v1/>":{"username":"username","password":"password","email":"email","auth":"auth"}}}'
type: <http://kubernetes.io/dockerconfigjson|kubernetes.io/dockerconfigjson>
a
I think /v1 is the factor, normally you do only up to the root
p
I tried with that, but getting same error.
f
Worked for me with removing the "auths"
{"index.docker.io":{UserAndPassword}