Can we specify "imagePullSecrets" in deployment-config to authenticate to a private registry in OCP4.x?

Solution Verified - Updated -

Issue

  • OCP4.x documents guide adding secrets to a service account to allow pods to reference images from other secured registries.
  • Can we specify "imagePullSecrets" in deployment-config to authenticate to a private registry in OCP4.x ?

Environment

Openshift Container Platform 4.x

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