Merge pull request #271 from wilreichert/clustercheck
bug: single rabbitmq instances don't need cluster readiness checks
This commit is contained in:
commit
04a215e7a2
@ -32,10 +32,13 @@ main() {
|
|||||||
log-it "Node is unhealthy"
|
log-it "Node is unhealthy"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
{{ if gt (.Values.replicas | int) 1 -}}
|
||||||
if ! is-node-properly-clustered; then
|
if ! is-node-properly-clustered; then
|
||||||
log-it "Node is inconsistent with the rest of the cluster"
|
log-it "Node is inconsistent with the rest of the cluster"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
{{- end }}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user