-
Notifications
You must be signed in to change notification settings - Fork 152
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 (#321)
* Use StrategicMergePatch to patch default pod spec Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Add support to override default Pod Specs in KubeTask function Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Add support to override pod specs in all Kanister functions Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Add unit tests for merge patch functions Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Use strategicpatch.JSONMap type for PodOverride specs instead of map[string]interface{} Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Refactoring - move common code to a function Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * UT: Add test for Blueprint spec override with Actionset Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Update docs for PodOverride support Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * e2e_test: Add e2e test for KubeTask function Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Addressed review comments Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
- 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.