-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(analysis): Allow analysis arguments to get valueFrom Rollout sta…
…tus (#1242) (#1629) * use objx to read value from Rollout manifest Signed-off-by: Noam Gal <[email protected]> * handle `[]` annotation correcly in BuildArgumentsForRolloutAnalysisRun Signed-off-by: Noam Gal <[email protected]> * validate valueFrom correctly Signed-off-by: Noam Gal <[email protected]> * use jsonpath instead of objx return err if path is inavlid in runtime (don't check in validation time) Signed-off-by: Noam Gal <[email protected]> * parse path in code, instead of using jsonPath Signed-off-by: Noam Gal <[email protected]> * fixed test Signed-off-by: Noam Gal <[email protected]> * updated documentation Signed-off-by: Noam Gal <[email protected]> * added tests for coverage Signed-off-by: Noam Gal <[email protected]> * fixed lint Signed-off-by: Noam Gal <[email protected]> * added another test case Signed-off-by: Noam Gal <[email protected]> * fixed case when path ends with "]" Signed-off-by: Noam Gal <[email protected]> * removed objx dependency Signed-off-by: Noam Gal <[email protected]>
- Loading branch information
Showing
7 changed files
with
181 additions
and
21 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
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