github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/Rollout/actions/promote-full/action.lua (about) 1 if obj.status ~= nil then 2 generation = tonumber(obj.status.observedGeneration) 3 if generation == nil or generation > obj.metadata.generation then 4 -- rollouts v0.9 and below 5 obj.status.abort = nil 6 if obj.spec.strategy.canary.steps ~= nil then 7 obj.status.currentStepIndex = table.getn(obj.spec.strategy.canary.steps) 8 end 9 else 10 -- rollouts v0.10+ 11 obj.status.promoteFull = true 12 end 13 end 14 return obj