forked from opendatahub-io/opendatahub-operator
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add predicates on deployment (opendatahub-io#1172)
* update: logic for manage resource with skip unnecessary reconcile - rename updateResoruce() to CreateOrUpdateResource() - use annoataion RHOAIApplicationNamespace and ODHApplicationNamespace than hardcode - add predicate.Funcs for deployments to reduce reconciles on all components - use switch for better readiness in CreateOrUpdateResource for annoataion handling Signed-off-by: Wen Zhou <[email protected]> * revert: back out annotation for application namespace Signed-off-by: Wen Zhou <[email protected]> * lint: skip lint on const with multiple hardcode value - need to deal with this with another PR to get appliation namespace Signed-off-by: Wen Zhou <[email protected]> * refactor: deploy with manage resource part Signed-off-by: Wen Zhou <[email protected]> --------- Signed-off-by: Wen Zhou <[email protected]> (cherry picked from commit 6f82d01)
- Loading branch information
Showing
2 changed files
with
70 additions
and
31 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