mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-03 22:58:21 +00:00
* chore(action): add newlines at eof Signed-off-by: Josh Soref <jsoref@gmail.com> * chore(action): fix whitespace indentation Signed-off-by: Josh Soref <jsoref@gmail.com> * chore(action): use local annotations Signed-off-by: Josh Soref <jsoref@gmail.com> --------- Signed-off-by: Josh Soref <jsoref@gmail.com>
19 lines
432 B
Lua
19 lines
432 B
Lua
local hs = {}
|
|
if obj.status ~= nil then
|
|
if obj.status.phase ~= nil then
|
|
if obj.status.phase == "RUNNING" then
|
|
hs.status = "Healthy"
|
|
hs.message = "Connect running"
|
|
return hs
|
|
end
|
|
if obj.status.phase == "PROVISIONING" then
|
|
hs.status = "Progressing"
|
|
hs.message = "Connect provisioning"
|
|
return hs
|
|
end
|
|
end
|
|
end
|
|
|
|
hs.status = "Progressing"
|
|
hs.message = "Waiting for Connect"
|
|
return hs
|