github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/solr.apache.org/SolrCloud/health.lua (about)

     1  -- There is no value in the manifest that can lead to conclude that
     2  -- this resource is in a "Degraded" state. Update this, if in the future
     3  -- this possibility arises.
     4  
     5  if obj.status == nil or obj.status.solrNodes == nil then
     6    return {
     7      status = "Progressing",
     8      message = "Waiting for solr to exist",
     9    }
    10  end
    11  
    12  for _, solrNode in ipairs(obj.status.solrNodes) do
    13    if not solrNode.ready then
    14      return {
    15        status = "Progressing",
    16        message = "Not all replicas are ready",
    17      }
    18    end
    19  end
    20  
    21  return {
    22    status = "Healthy",
    23    message = "Solr is ready",
    24  }