1
0
Fork 0
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:
Adam Janikowski 2021-04-13 09:46:11 +02:00 committed by GitHub
parent 3886e15460
commit 9af0feccf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

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

View file

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