mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
[node operator] PendingNode: check if node was deleted every 30 seconds after regular deadline expires
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
0b0a3454fa
commit
b0d93b96dc
@ -128,6 +128,7 @@ func (r *PendingNodeReconciler) Reconcile(ctx context.Context, req ctrl.Request)
|
||||
case updatev1alpha1.NodeGoalLeave:
|
||||
logr.Info("Node was not terminated on time", "pendingNodeGoal", pendingNode.Spec.Goal, "cspNodeState", nodeState)
|
||||
// TODO: decide if other actions should be taken here (e.g. send another request to delete node)
|
||||
return ctrl.Result{RequeueAfter: defaultCheckInterval}, nil
|
||||
}
|
||||
|
||||
return ctrl.Result{}, nil
|
||||
|
Loading…
Reference in New Issue
Block a user