We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e227e9e commit 007b9c3Copy full SHA for 007b9c3
resource_customizations/ceph.rook.io/CephCluster/health.lua
@@ -47,9 +47,9 @@ end
47
48
-- Check state - https://github.com/rook/rook/blob/v1.17.7/pkg/apis/ceph.rook.io/v1/types.go#L621
49
if obj.status.state ~= nil then
50
- if hs.status == "Healthy" or hs.status == "Connected" then
+ if hs.status == "Healthy" then
51
append_to_message("Ceph cluster state is " .. obj.status.state)
52
- if obj.status.state == "Created" then
+ if obj.status.state == "Created" or obj.status.state == "Connected" then
53
hs.status = "Healthy"
54
elseif obj.status.state == "Error" then
55
hs.status = "Degraded"
0 commit comments