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

Configuration for preventing ApplicationSet from deleting applications

XMLWordPrintable

    • Support for Prevent ApplicationSet controller from deleting Applications
    • False
    • None
    • False
    • To Do
    • SECFLOWOTL-195 - RFEs 1.15
    • 67% To Do, 0% In Progress, 33% Done

      Goal

      Argo CD supports a configuration where ApplicationSet controller can create and modify applications but not delete them. This feature is to enable configuring application sync policy for applicationsets through the Argo CD configurations. Currently, admin has to modify the ApplicationSet controller deployment object for this configurtion:
      https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Controlling-Resource-Modification/#policy-create-update-prevent-applicationset-controller-from-deleting-applications

      Acceptance Criteria

      • A configuration exists on Argo CD for specifying the application sync policy for ApplicationSets
      • Add E2E tests in Argo CD Operator and GitOps Operator.
      • Document the usage of Appset policies via extra command arguments field in Argo CD CR.

      Notes

      We are referring Doc. The feature is available in upstream ArgoCD v2.4.14+.

      I couldn't find a release note for this feature added in GitOps and couldn't find any way to add `--policy create-update` in the argocd instance. So how to apply this feature in GitOps or is it not yet supported?

            nmirasch@redhat.com Neus Miras Chueca
            rh-ee-ssadeghi Siamak Sadeghianfar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: