mirror of https://github.com/helm/helm
The assumption that either a username and/or password OR an error is returned appears to be wrong, and results in an error later on which looks something like the following: ``` failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://auth.docker.io/token?scope=repository%3AXXX%2FYYY%3Apull&service=registry.docker.io: 401 Unauthorized ``` To mitigate this, confirm we actually have one of the values before setting the `Authorization` header. Co-authored-by: Joe Julian <me@joejulian.name> Signed-off-by: Hidde Beydals <hidde@hhh.computer>pull/12424/head
parent
0e72b64797
commit
fe4c01f624
Loading…
Reference in new issue