forked from kanisterio/kanister
-
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.
Override default pod spec with StrategicMergePatch (kanisterio#321)
* Use StrategicMergePatch to patch default pod spec Signed-off-by: Prasad Ghangal <[email protected]> * Add support to override default Pod Specs in KubeTask function Signed-off-by: Prasad Ghangal <[email protected]> * Add support to override pod specs in all Kanister functions Signed-off-by: Prasad Ghangal <[email protected]> * Add unit tests for merge patch functions Signed-off-by: Prasad Ghangal <[email protected]> * Use strategicpatch.JSONMap type for PodOverride specs instead of map[string]interface{} Signed-off-by: Prasad Ghangal <[email protected]> * Refactoring - move common code to a function Signed-off-by: Prasad Ghangal <[email protected]> * UT: Add test for Blueprint spec override with Actionset Signed-off-by: Prasad Ghangal <[email protected]> * Update docs for PodOverride support Signed-off-by: Prasad Ghangal <[email protected]> * e2e_test: Add e2e test for KubeTask function Signed-off-by: Prasad Ghangal <[email protected]> * Addressed review comments Signed-off-by: Prasad Ghangal <[email protected]>
- Loading branch information
1 parent
9a684c7
commit 7124ce1
Showing
18 changed files
with
765 additions
and
64 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
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
Oops, something went wrong.