Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-1310

Define a Repository CRD and controller which watches Repository CRs and configures the relevant configmaps.

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • None
    • Operator
    • None
    • Define a Repository CRD and controller which watches Repository CRs and configures the relevant configmaps.
    • False
    • False
    • To Do

      Summary

      Upstream Issue:  https://github.com/argoproj/argo-cd/issues/5720 

       

      Configuring Argo CD can be an arduous process with a growing number of configuration knobs in large configmaps and secrets. Example https://argoproj.github.io/argo-cd/operator-manual/argocd-cm.yaml

      This enhancement proposal aims to introduce a set of strongly typed APIs a.k.a CRDs to make configuration of repository credentials.

      Proposal

      Define a ArgoCDConfig CRD and controller which watches ArgoCDConfig CRs and configures relevant configmaps that captures the equivalent of https://argoproj.github.io/argo-cd/operator-manual/argocd-cm.yaml for areas which aren’t covered by other CRDs.

      Goals

      • Build a set of operator-focused APIs that hide the configuration information that goes into argocd-cm.yaml

      Use case

      refer the upstream issue

      Acceptance Criteria

      • Decouple declaration of repositories from the main configuration argocd-cm.yaml
      • Create an API equivalent to the GitRepositoryConfig CRD for reading `repository` and `repository.credentials`
      • Controller watches for repository configuration in the GitRepositoryConfig CRs

       

              isequeir@redhat.com Ishita Sequeira
              isequeir@redhat.com Ishita Sequeira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: