mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Automatic merge from submit-queue (batch tested with PRs 38212, 38792, 39641, 36390, 39005) Updating federated service controller to support cascading deletion Ref https://github.com/kubernetes/kubernetes/issues/33612 Service controller is special than other federation controllers because it does not use federatedinformer and updater to sync services (it was written before we had those frameworks). Updating service controller code to instantiate these frameworks and then use deletion helper to perform cascading deletion. Note that, I havent changed the queuing logic in this PR so we still dont use federated informer to manage the queue. Will do that in the next PR. cc @kubernetes/sig-federation-misc @mwielgus @quinton-hoole ```release-note federation: Adding support for DeleteOptions.OrphanDependents for federated services. Setting it to false while deleting a federated service also deletes the corresponding services from all registered clusters. ```