github.com/argoproj/argo-cd@v1.8.7/resource_customizations/kiali.io/Kiali/health.lua (about) 1 health_status = {} 2 if obj.status ~= nil then 3 if obj.status.conditions ~= nil then 4 for i, condition in ipairs(obj.status.conditions) do 5 health_status.message = condition.message 6 if condition.reason == "Successful" then 7 health_status.status = "Healthy" 8 elseif condition.reason == "Running" then 9 health_status.status = "Progressing" 10 else 11 health_status.status = "Degraded" 12 end 13 return health_status 14 end 15 end 16 end 17 health_status.status = "Progressing" 18 health_status.message = "Waiting for Kiali" 19 return health_status