Skip to content

Commit 9af0fec

Browse files
authored
[Bugfix] Fix Maintenance Action plan (#707)
1 parent 3886e15 commit 9af0fec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A)
44
- Bump Kubernetes Dependencies to 1.19.x
5+
- Add ArangoMember status propagation
6+
- Add ShutdownMethod option for members
7+
- Fix Maintenance Plan actions
58

69
## [1.1.6](https://github.com/arangodb/kube-arangodb/tree/1.1.6) (2021-03-02)
710
- Add ArangoMember Resource and required RBAC rules

pkg/deployment/reconcile/plan_builder_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func createMaintenanceManagementPlan(ctx context.Context,
6565

6666
if m.Enabled() && !spec.Database.GetMaintenance() {
6767
log.Info().Msgf("Disabling maintenance mode")
68-
return api.Plan{api.NewAction(api.ActionTypeEnableMaintenance, api.ServerGroupUnknown, "")}
68+
return api.Plan{api.NewAction(api.ActionTypeDisableMaintenance, api.ServerGroupUnknown, "")}
6969
}
7070

7171
return nil

0 commit comments

Comments
 (0)