mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-30 06:36:19 +00:00
To prepare for implementing ControllerRef across all controllers, this pushes the common adopt/orphan logic into ControllerRefManager so each controller doesn't have to duplicate it. This also shares the adopt/orphan logic between Pods and ReplicaSets, so it lives in only one place.