Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds handling of 401 for POST /v2/token without authentication
This fix adds support for image registries that expect authentication for POST /v2/token such as used by the GET. E.g., JFrog Artifactory y has been observed to respond with a 401 (Unauthorized) in that case. Adding 401 in addition to the current handling of 405 and 404 in the resolver solves the authentication problem. Finally, this enables image pulls also for Artifactory. Signed-off-by: Ruediger Maass <ruediger.maass@de.ibm.com>
- Loading branch information