How to specify mutiple image pull secrets

Solution In Progress - Updated -

Issue

  • We need to run multiple docker registries [external to OCP] to reach the high availability. Our sigle-registry setup is to create a secret file with registry login as e.g.:
[root@guerilla kubernetes]# cat registry_secret.yaml
apiVersion: v1
data:
  .dockercfg: our_encrypted_secret
kind: Secret
metadata:
  name: our-secret-name-reference
type: kubernetes.io/dockercfg

and then load it to the project and refer to it in the rc.yml as e.g.:

        imagePullSecrets:
        - name: our-secret-name-reference
  • Now, when we aim to use multiple registries secrets. How can we do that?

Environment

  • Openshift Container Platform
    • 3.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.