-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TEP-0137] Rename customrun package to notifications
The pkg/reconciler/customrun package contains a controller that today sends cloudevents for CustomRuns. In the context of TEP-0137, this controller will be repurposed to send events for all resources, so the current name does not make sense anymore. Renaming the package to "notifications", because the "events" and "cloudevents" names are already used elsewhere and we don't want a mass API rename for this. We might consolidate the code further as a follow-up. The new name is also more future-proof, as the controller may in future handle other kinds of non-cloudevents type of notifications. When renaming I realised that the customrun controller was being started as part of the main controller as well as an independent one. This PR fixes that bug as well. Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
- Loading branch information
Showing
5 changed files
with
7 additions
and
9 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
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