Skip to content

Commit

Permalink
Disable OS updates during xmas
Browse files Browse the repository at this point in the history
  • Loading branch information
jknipper committed Dec 17, 2024
1 parent 72d1e63 commit 914729c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/controller/servicing/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

"github.com/go-kit/log"
"github.com/pkg/errors"
core_v1 "k8s.io/api/core/v1"
"k8s.io/client-go/tools/record"

"github.com/sapcc/kubernikus/pkg/api/models"
Expand Down Expand Up @@ -157,7 +158,8 @@ func (r *KlusterReconciler) Do() error {

update := r.Lister.Updating()
replace := r.Lister.Replace()
reboot := r.Lister.Reboot()
// reboot := r.Lister.Reboot()
reboot := make([]*core_v1.Node, 0) // disable reboots for now

// The following block retires already updating nodes
if len(update) > 0 {
Expand Down

0 comments on commit 914729c

Please sign in to comment.