github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/source.toolkit.fluxcd.io/GitRepository/actions/discovery.lua (about) 1 local actions = {} 2 3 actions["reconcile"] = {["disabled"] = true} 4 actions["suspend"] = {["disabled"] = true} 5 actions["resume"] = {["disabled"] = true} 6 7 local suspend = false 8 if obj.spec.suspend ~= nil then 9 suspend = obj.spec.suspend 10 end 11 if suspend then 12 actions["resume"]["disabled"] = false 13 else 14 actions["reconcile"]["disabled"] = false 15 actions["suspend"]["disabled"] = false 16 end 17 18 return actions