case replicas to int for comparison, thanks @larryrensing
This commit is contained in:
parent
844173049c
commit
7321ded7d5
@ -33,7 +33,7 @@ main() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{{ if gt ".Values.replicas" "1" -}}
|
{{ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user