1
0
Fork 0
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:
Adam Janikowski 2024-04-26 15:55:16 +02:00 committed by GitHub
parent 9a2654ed7e
commit bb45038808
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View file

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

View file

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