mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Bugfix] Fix Maintenance Action plan (#707)
This commit is contained in:
parent
3886e15460
commit
9af0feccf7
2 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A)
|
||||
- Bump Kubernetes Dependencies to 1.19.x
|
||||
- Add ArangoMember status propagation
|
||||
- Add ShutdownMethod option for members
|
||||
- Fix Maintenance Plan actions
|
||||
|
||||
## [1.1.6](https://github.com/arangodb/kube-arangodb/tree/1.1.6) (2021-03-02)
|
||||
- Add ArangoMember Resource and required RBAC rules
|
||||
|
|
|
@ -65,7 +65,7 @@ func createMaintenanceManagementPlan(ctx context.Context,
|
|||
|
||||
if m.Enabled() && !spec.Database.GetMaintenance() {
|
||||
log.Info().Msgf("Disabling maintenance mode")
|
||||
return api.Plan{api.NewAction(api.ActionTypeEnableMaintenance, api.ServerGroupUnknown, "")}
|
||||
return api.Plan{api.NewAction(api.ActionTypeDisableMaintenance, api.ServerGroupUnknown, "")}
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue