github.com/argoproj/argo-cd@v1.8.7/resource_customizations/stacks.crossplane.io/ClusterStackInstall/health.lua (about) 1 hs = { 2 status = "Progressing", 3 message = "Waiting for stack to be installed" 4 } 5 if obj.status ~= nil then 6 if obj.status.conditionedStatus ~= nil then 7 if obj.status.conditionedStatus.conditions ~= nil then 8 for i, condition in ipairs(obj.status.conditionedStatus.conditions) do 9 if condition.type == "Ready" then 10 hs.message = condition.reason 11 if condition.status == "True" then 12 hs.status = "Healthy" 13 return hs 14 end 15 end 16 end 17 end 18 end 19 end 20 return hs