github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/astra.netapp.io/AppVault/health.lua (about) 1 hs = { status = "Progressing", message = "No status available" } 2 if obj.status ~= nil then 3 if obj.status.state ~= nil then 4 if obj.status.state == "available" or obj.status.state == "Available" then 5 hs.status = "Healthy" 6 hs.message = obj.kind .. " Available" 7 elseif obj.status.state == "failed" or obj.status.state == "Failed" then 8 hs.status = "Degraded" 9 hs.message = obj.kind .. " Failed" 10 end 11 end 12 end 13 return hs