• Anthony Yeh's avatar
    Refactor ControllerRefManager · 70bd5fdf
    Anthony Yeh authored
    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.
    70bd5fdf
controller_ref_manager.go 12.2 KB