Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
entrypoint image lookup: change auth order
The google.Keychain will fail hard in case of `gcloud` command missing (which can be the case in minikube and other kubernetes cluster). This means it will fail before trying to contact the registry anonymously — even if the images are publically available. This add an ad-hoc anonymous keychain, and set it as the first keychaien to check. That way, it will first try to get images config anonymously and then try other authentications. Signed-off-by: Vincent Demeester <[email protected]>
- Loading branch information