Image pull fails with unauthorized to access repository in OpenShift 4
Issue
-
After configuring the image pull secret as described in Updating the global cluster pull secret, access to the repository becomes unauthorized. Error message:
Error: ImagePullBackOff "<image name>". Access repository: <repository name>, action: pull: unauthorized to access repository: <repository name> -
How to test a pull secret for a Red Hat image registry?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Pull Secret
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.