github.com/argoproj/argo-cd@v1.8.7/resource_customizations/networking.gke.io/ManagedCertificate/health.lua (about) 1 hs = {} 2 3 if obj.status ~= nil then 4 if obj.status.domainStatus ~= nil then 5 for i, domainStatus in ipairs(obj.status.domainStatus) do 6 if domainStatus.status == "FailedNotVisible" then 7 hs.status = "Degraded" 8 hs.message = "At least one certificate has failed to be provisioned" 9 return hs 10 end 11 end 12 end 13 end 14 15 if obj.status ~= nil and obj.status.certificateStatus == "Active" then 16 hs.status = "Healthy" 17 hs.message = "All certificates are active" 18 return hs 19 end 20 21 hs.status = "Progressing" 22 hs.message = "At least one certificate is still being provisioned" 23 return hs