-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deletion of svclb DaemonSet when Service is deleted
87e1806 removed the OwnerReferences field from the DaemonSet, which makes sense since the Service may now be in a different namespace. Unfortunately, we were relying on OwnerReferences garbage collection to delete the DameonSet, since we don't have an OnRemove handler registered for Services. Fix this by adding an OnRemove handler, and restore the DaemonSet removal Event that was removed by the same commit. Signed-off-by: Brad Davidson <[email protected]>
- Loading branch information
Showing
1 changed file
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters