argocd-image-updater icon indicating copy to clipboard operation
argocd-image-updater copied to clipboard

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

Open DimitarMicevski1 opened this issue 1 year ago • 4 comments

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

DimitarMicevski1 avatar Nov 21 '24 12:11 DimitarMicevski1