• 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
replication_controller_test.go 57.9 KB