Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/controllers/nodeclaim/lifecycle/launch.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ func (l *Launch) Reconcile(ctx context.Context, nodeClaim *v1.NodeClaim) (reconc
if cond := nodeClaim.StatusConditions().Get(v1.ConditionTypeLaunched); !cond.IsUnknown() {
// Ensure that we always set the status condition to the latest generation
nodeClaim.StatusConditions().Set(*cond)
if cond.IsTrue() {
// Once the NodeClaim has successfully marked as launched, we no longer need to store it
l.cache.Delete(string(nodeClaim.UID))
}
return reconcile.Result{}, nil
}

Expand Down
Loading