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

Fix reconciliaton loop in the GitOps operator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 3
    • False
    • None
    • False
    • 3
    • GitOps Scarlet - Sprint 3257

      Description of problem:

      Currently, the GitOps operator ends up in a reconciliation loop because the Plugin reconciler updates the desired Deployment resource instead of the existing Deployment resource. Since the desired resource doesn't have the resource version and other metadata the resource gets updated triggering the loop.{}

      Steps to Reproduce

       Run the operator locally and observe the logs. It should continuously reconcile the resources even though there are no updates to the CR.

      Acceptance criteria: 

      1. The operator shouldn't reconcile continuously without any
      2. The CI should be green.

            cbanavik Chetan Banavikalmutt
            cbanavik Chetan Banavikalmutt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: