github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/platform.confluent.io/Kafka/health.lua (about) 1 local hs = {} 2 if obj.status ~= nil then 3 if obj.status.phase ~= nil then 4 if obj.status.phase == "RUNNING" then 5 hs.status = "Healthy" 6 hs.message = "Kafka running" 7 return hs 8 end 9 if obj.status.phase == "PROVISIONING" then 10 hs.status = "Progressing" 11 hs.message = "Kafka provisioning" 12 return hs 13 end 14 end 15 end 16 17 hs.status = "Progressing" 18 hs.message = "Waiting for Kafka" 19 return hs