1
0
Fork 0
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:
Adam Janikowski 2022-11-16 08:59:02 +01:00 committed by GitHub
parent 4644bfbc94
commit c8248deae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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
}