-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add specific watches for some deleting resources
It seems that watches that use a label selector do not always get triggered when a resource is fully removed. In particular, this means that CRDs and CSVs related to an OperatorPolicy can get stuck in the status, even when they have been fully removed, because the policy is not re-reconciled. Since watches using a specific name seem to be unaffected, the controller now creates new watches by name in that situation. Refs: - https://issues.redhat.com/browse/ACM-11451 Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
- Loading branch information
1 parent
e60ff79
commit 76ca0cd
Showing
2 changed files
with
149 additions
and
6 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