github.com/argoproj/argo-cd@v1.8.7/resource_customizations/zookeeper.pravega.io/ZookeeperCluster/health.lua (about) 1 health_status = {} 2 if obj.status ~= nil then 3 if obj.status.readyReplicas ~= 0 and obj.status.readyReplicas == obj.status.replicas then 4 health_status.status = "Healthy" 5 health_status.message = "All ZK Nodes have joined the ensemble" 6 return health_status 7 end 8 end 9 health_status.status = "Progressing" 10 health_status.message = "Waiting for ZK Nodes to join the ensemble" 11 return health_status