You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify or drop the Deleting phase arm in the lifecycle groups authorizer #4513
isRegisteredTerminator requires the group's terminator to be present in Status.Terminators. The phase reconciler (pkg/reconciler/core/logicalcluster/logicalcluster_reconcile_phase.go:37-57) only moves a LogicalCluster to Deleting once Status.Terminators is empty. As written, a terminator-group request in Deleting therefore never matches, and the Deleting label suggests access that is never granted.
What should happen
Work out why Deleting is in the case list (it may be historical, e.g. the earlier phase-only check, or there may be a path I have not traced), then do one of:
drop Deleting from the case, or
keep it and add a comment explaining why, or
if a terminator is meant to keep access while it removes itself, change the check accordingly.
This is deliberately separate from #4507, as requested.
Activity