• Anthony Yeh's avatar
    Deployment: Use ControllerRef to list controlled objects. · 92d75cbb
    Anthony Yeh authored
    Although Deployment already applied its ControllerRef to adopt matching
    ReplicaSets, it actually still used label selectors to list objects that
    it controls. That meant it didn't actually follow the rules of
    ControllerRef, so it could still fight with other controller types.
    
    This should mean that the special handling for overlapping Deployments
    is no longer necessary, since each Deployment will only see objects that
    it owns (via ControllerRef).
    92d75cbb
rolling.go 9.8 KB