forked from submariner-io/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inadvertent deletion of aggregated ServiceImports on agent restart
If the broker co-exists on a managed cluster, on LH agent restart, the aggregated ServiceImports on the broker are inadvertently deleted during reconciliation. Reconciliation should only process local aggregated ServiceImports and should ignore ServiceImports in the broker namespace. The latter are distinguished by the presence of the "multicluster.kubernetes.io/service-name" annotation. The reconciliation unit test was adjusted to cover this case. Fixes submariner-io/submariner#3188 Signed-off-by: Tom Pantelis <[email protected]>
- Loading branch information
Showing
3 changed files
with
17 additions
and
13 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
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
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