Documentation Center

Container image pull secrets

About this task

Image pull secrets are optional. They can be used if the Docker registry requires authentication. Image pull secrets can be configured in two different ways:
  • by specifying a user name and password, or
  • by creating an image pull secret manually and referring to it in the deployment.

Procedure

  • Providing user name and password
    mtedge:
      image:
        username: MY_USER
        password: MY_PASSWORD
  • Providing an existing secret
    mtedge:
      image:
        pullSecretName: MY_SECRET_NAME