Builds , pulling and pushing images to the internal image registry fail with the error: authentication required

Solution Verified - Updated -

Issue

  • Any pull or push action fails with the: authentication required
  • For a newly created project, the default serviceaccount are created but not their corresponding secrets that contains tokens to authenticate to the internal image registry.
  • Any build config doesn't start and doesn't show any error-

Environment

  • Openshift Container Platform 4.16
  • Hosted Control Plane.
  • Baremetal.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content