mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
fix PerconaXtraDBCluster health (#16434)
Signed-off-by: Filip Rafaj <filip.rafaj@prusa3d.cz> Co-authored-by: Filip Rafaj <filip.rafaj@prusa3d.cz>
This commit is contained in:
@@ -27,7 +27,7 @@ if obj.status ~= nil then
|
||||
|
||||
if obj.status.state == "error" then
|
||||
hs.status = "Degraded"
|
||||
hs.message = "Cluster is on error: " .. table.concat(obj.status.messages, ", ")
|
||||
hs.message = "Cluster is on error: " .. table.concat(obj.status.message, ", ")
|
||||
return hs
|
||||
end
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ status:
|
||||
pmm: {}
|
||||
proxysql: {}
|
||||
pxc:
|
||||
image: ''
|
||||
image: ""
|
||||
ready: 1
|
||||
size: 2
|
||||
status: error
|
||||
@@ -20,5 +20,5 @@ status:
|
||||
ready: 1
|
||||
size: 2
|
||||
state: error
|
||||
messages:
|
||||
- we lost node
|
||||
message:
|
||||
- we lost node
|
||||
|
||||
Reference in New Issue
Block a user