mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Bugfix] Do not tolerate False Bootstrap condition in UpToDate evaluation (#1184)
This commit is contained in:
parent
4644bfbc94
commit
c8248deae2
2 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
- (DebugPackage) Collect logs from pods
|
||||
- (Bugfix) Move Agency CommitIndex log message to Trace
|
||||
- (Feature) Force delete Pods which are stuck in init phase
|
||||
- (Bugfix) Do not tolerate False Bootstrap condition in UpToDate evaluation
|
||||
|
||||
## [1.2.20](https://github.com/arangodb/kube-arangodb/tree/1.2.20) (2022-10-25)
|
||||
- (Feature) Add action progress
|
||||
|
|
|
@ -455,7 +455,14 @@ func (d *Deployment) isUpToDateStatus(status api.DeploymentStatus) (upToDate boo
|
|||
return
|
||||
}
|
||||
|
||||
if !status.Conditions.Check(api.ConditionTypeBootstrapCompleted).Exists().IsTrue().Evaluate() {
|
||||
reason = "ArangoDB is not bootstrapped"
|
||||
upToDate = false
|
||||
return
|
||||
}
|
||||
|
||||
if !status.Conditions.Check(api.ConditionTypeReachable).Exists().IsTrue().Evaluate() {
|
||||
reason = "ArangoDB is not reachable"
|
||||
upToDate = false
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue