Build pod fails to finish with the error "Get "https://image-registry.openshift-image-registry.svc:5000/v2/": Forbidden"
Issue
- After a build is started, the process builds the application, but the pod is unable to push the resultant image to the internal image registry and the build process ends with
Errorstatus. - A problem related to pull secret privileges has been ruled out and the related service account has enough privileges to push images to the internal registry.
- The error the build pod shows is
Forbidden, but this error is not seen in the image registry pod.
Environment
- Openshift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.