diff --git a/controllers/providers/kubernetes/nodes.go b/controllers/providers/kubernetes/nodes.go index 3280b3a7..489561d2 100644 --- a/controllers/providers/kubernetes/nodes.go +++ b/controllers/providers/kubernetes/nodes.go @@ -50,6 +50,7 @@ func (k *KubernetesClientSet) DrainNode(node *corev1.Node, PostDrainDelaySeconds } helper := &drain.Helper{ + Ctx: context.Background(), Client: client, Force: true, GracePeriodSeconds: -1,