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

Prevent argoCD from automatically refreshing to gitops repository

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Before this update, reconciliation timeout values configured via the extraConfig field (which propagates to the internal ConfigMap) were not correctly mapped to the operator's environment variables. This was particularly evident when timeout.reconciliation was set to 0.

      The update ensures the timeout.reconciliation field is explicitly mapped to the appropriate environment variable in the operator's deployment logic. The operator now correctly recognizes and applies these user-defined timeouts for consistent control over sync cycles.

      Key Usage Notes
      While this fix improves the reliability of the extraConfig mapping, please be aware of the following implementation details:

      Manual Restart Required: If you apply these settings via extraConfig, the change is propagated to the ConfigMap, but the StatefulSet controller will not automatically pick up the changes. You must manually restart the controller for the new timeout values to take effect.

      Recommended Approach: For a more seamless experience, it is highly recommended to use the controller.appSync field. Using this field allows the operator to manage the synchronization logic more natively without the limitations associated with manual configuration overrides.
      Show
      Before this update, reconciliation timeout values configured via the extraConfig field (which propagates to the internal ConfigMap) were not correctly mapped to the operator's environment variables. This was particularly evident when timeout.reconciliation was set to 0. The update ensures the timeout.reconciliation field is explicitly mapped to the appropriate environment variable in the operator's deployment logic. The operator now correctly recognizes and applies these user-defined timeouts for consistent control over sync cycles. Key Usage Notes While this fix improves the reliability of the extraConfig mapping, please be aware of the following implementation details: Manual Restart Required: If you apply these settings via extraConfig, the change is propagated to the ConfigMap, but the StatefulSet controller will not automatically pick up the changes. You must manually restart the controller for the new timeout values to take effect. Recommended Approach: For a more seamless experience, it is highly recommended to use the controller.appSync field. Using this field allows the operator to manage the synchronization logic more natively without the limitations associated with manual configuration overrides.
    • GitOps Crimson Sprint 25, GitOps Crimson Sprint 26

      Description of Problem

      • ArgoCD is automatically refreshing GitOps repository every 3 minutes. Requirement is to stop this refresh permanently.

      Additional Info

      • The time can be changed by adding variable RGOCD_RECONCILIATION_TIMEOUT with desired time in spec.controller.env and in spec.repo.env. However, It is not possible to permanently stop ArgoCD to refresh.

      Problem Reproduction

      • As given in doc updating 'timeout.reconciliation' to '0' should disable automatic refresh of the applications. But that does not happens even after restarting the pod, doing manual refresh and then making the change in the git.

      Reproducibility

      • Always

      Expected Results

      • GitOps repo should not get refreshed automatically from ArgoCD

              rhn-support-alkumari Alka Kumari
              rhn-support-yvedpath Yogesh Vedpathak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: