forked from maistra/odh-platform
-
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.
feat(routing): support changing export modes (maistra#48)
Support changing export modes ## Summary This PR enhances the routing controller's functionality to ensure that routing resources are correctly removed when changes occur in the export annotation of a watched resource, handling the removal and modification of the `routing.opendatahub.io/export-mode` annotation on watched CR. Additionally, the PR introduces new test cases to verify this behavior: 1. **Removal of Export Annotation**: Tests that all created routing resources are removed when the export annotation is deleted from a component. 2. **Modification of Export Annotation**: Tests that only the routing resources corresponding to the removed export mode are deleted when the annotation is updated. Fixes: https://issues.redhat.com/browse/RHOAIENG-11030 --------- Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>
- Loading branch information
1 parent
9faba49
commit 87baa6c
Showing
11 changed files
with
401 additions
and
72 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
Oops, something went wrong.