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

ArgoCD Operator Code Cleanup

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Operator
    • None
    • ArgoCD Operator Code Cleanup
    • False
    • False
    • To Do
    • 43% To Do, 0% In Progress, 57% Done
    • Undefined

      There are areas in ArgoCD Operator that are due for code cleanup.

      Acceptance Criteria

      • Upstream argocd operator is constructed with some "hook" mechanism which allows downstream gitops operator extension code to be invoked.   Openshift specific extension code should live in gitops operator.  Upstream and downstream will have unit tests and e2e test.  The upstream tests will exercise on k8s cluster and downstream will test on OCP.
      • Filter predicate does not alter resource states.  It should only contain logic to filter events (return false to filter out event).  Altering resource states are moved to reconcile functions.
      • Role/rolebindng are not reconciled more than once.   The role/role binding reconciler return values are actually consumed.
      • Reconcile functions are refactored.   It currently has a lot of reconcile functions.  
      • Research a clean and elegant way to use Route  when it is on OCP.  Otherwise, Ingress is created.   We could leverage the "OpenShift Hook" here.  Implement and add unit/e2e tests.

            jpitman63 John Pitman
            wtam_at_redhat William Tam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: