github.com/argoproj/argo-cd@v1.8.7/resource_customizations/jaegertracing.io/Jaeger/health.lua (about)

     1  health_status = {}
     2  if obj.status ~= nil then
     3    if obj.status.phase == "Running" then
     4      health_status.status = "Healthy"
     5      health_status.message = "Jaeger is Running"
     6      return health_status
     7    end
     8    if obj.status.phase == "Failed" then
     9      health_status.status = "Degraded"
    10      health_status.message = "Jaeger Failed For Some Reason"
    11      return health_status
    12    end
    13  end
    14  health_status.status = "Progressing"
    15  health_status.message = "Waiting for Jaeger"
    16  return health_status