kind-gcr.sh example does not work for authentication token #1826
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
What happened:
The example on https://kind.sigs.k8s.io/docs/user/private-registries/#use-an-access-token does not work since Docker 18+ will use the OS Credential Store by default.
See https://docs.docker.com/engine/reference/commandline/login/#credentials-store
The generated client.json file will not contain the authentication token:
What you expected to happen:
I expected the config.json file to contain an "auth" key under auths["gcr.io"]
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
PR #1825
Environment:
kind version
): kind v0.8.1 go1.14.2 darwin/amd64kubectl version
):docker info
):/etc/os-release
): Darwin Kernel Version 19.5.0The text was updated successfully, but these errors were encountered: