Can a generic/global pull secret be configured for Red Hat OpenShift Container Platform 4.x node?
Issue
- How can one configure
registrycredentials on the Red Hat OpenShift Container Platform 4.4 nodes to avoid having to configure each ofprojectswith a specialpull secret, not to mention for future projects? - When one executes the command below, it tries to fetch images from
registry.redhat.ioand it fails with theautherror.
$ oc start-build <BC-name>
error: build error: After retrying 2 times, Pull image still failed due to error: unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication
- The global
pull-secretis already configured as per this link which doesn't help.
Environment
- Red Hat OpenShift Container Platform 4.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.