github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/AnalysisRun/actions/discovery.lua (about) 1 actions = {} 2 actions["terminate"] = {["disabled"] = (obj.spec.terminate or 3 obj.status.phase == "Successful" or 4 obj.status.phase == "Failed" or 5 obj.status.phase == "Error" or 6 obj.status.phase == "Inconclusive" 7 )} 8 return actions