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

Add argocd appset delete Algorithm

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • 1.7.0
    • None
    • ArgoCD
    • None
    • GITOPS Sprint 221

       

      A user is only able to delete an ApplicationSet if they have permissions to delete all of the Applications managed by the ApplicationSet. This check is performed in ApplicationSet controller, on receiving a delete request via GRPC from API server.

       

      • For each application owned by the ApplicationSet that the user is attempting to delete:
        • Check if the user has delete permission on the Application
        • Check if the user has delete permission within the project
      • If the user does NOT have permission on least one of these, the operation should fail.
      • On pass, ApplicationController server deletes (ie kubectl delete) the ApplicationSet resource.

       

      Acceptance Criteria:

      • `argocd appset delete` command works successfully
      • ApplicationSet and respective Applications are deleted successfully

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

                Created:
                Updated:
                Resolved: