Skip to content

Argo image updater config map configuration for multiple container registry from same registry #940

Open
@DimitarMicevski1

Description

@DimitarMicevski1

Is there a way to have 2 container registry from same registry but different project? Argo image updater is having trouble to authenticate with both at the same time, it can only authenticate for one, i am trying this config map

apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-image-updater-config
  labels:
    app.kubernetes.io/name: argocd-image-updater-config
    app.kubernetes.io/part-of: argocd-image-updater

data:
  log.level: debug
  registries.conf: |
    registries:
    - name: DigitalOcean Registry 1 / Project 1
      api_url: https://registry.digitalocean.com/
      ping: yes
      credentials: pullsecret:argocd/secret1
      defaultns: library
      prefix: registry.digitalocean.com   

    - name: DigitalOcean Registry 2 / Project 2
      api_url: https://registry.digitalocean.com/
      ping: no
      credentials: pullsecret:argocd/secret2
      prefix: registry.digitalocean.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions