• Kubernetes Submit Queue's avatar
    Merge pull request #39327 from shashidharatd/federation · 9d0b999e
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 39475, 38666, 39327, 38396, 39613)
    
    Fix a bug in cascading deletion of federation objects
    
    When FinalizerOrphan is present and set to true in federated object we are currently removing the FinalizerOrphan first and then removing FinalizerDeleteFromUnderlyingClusters. if a reconciliation is triggered in between the finalizer removals, it has undesired effect of object deletion in federated cluster.
    
    So we should remove  FinalizerDeleteFromUnderlyingClusters first and then remove FinalizerOrphan, when FinalizerOrphan is set to true.
    
    @nikhiljindal, @madhusudancs
    9d0b999e
Name
Last commit
Last update
..
BUILD Loading commit data...
deletion_helper.go Loading commit data...