mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Bugfix] Ensure PDB is created (#1651)
This commit is contained in:
parent
9a2654ed7e
commit
bb45038808
2 changed files with 1 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
|||
## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A)
|
||||
- (Maintenance) Bump Prometheus API Version
|
||||
- (Bugfix) Prevent unexpected rotation in case of SecurityContext change
|
||||
- (Bugfix) Ensure PDB is created
|
||||
|
||||
## [1.2.40](https://github.com/arangodb/kube-arangodb/tree/1.2.40) (2024-04-10)
|
||||
- (Feature) Add Core fields to the Scheduler Container Spec
|
||||
|
|
|
@ -132,10 +132,6 @@ func (r *Resources) ensurePDBForGroup(ctx context.Context, group api.ServerGroup
|
|||
|
||||
pdb, found := inspector.GetSimple(pdbName)
|
||||
if !found {
|
||||
return nil
|
||||
}
|
||||
|
||||
if kerrors.IsNotFound(err) {
|
||||
if wantedMinAvail != 0 && wantedMinAvail < current {
|
||||
// No PDB found - create new.
|
||||
log.Debug("Creating new PDB")
|
||||
|
|
Loading…
Reference in a new issue