-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add integration test for clean un-install use case (#24)
This commit has fixes and enhancements that were required to implement clean un-install use case. This use case talks about deletion of CRDs and custom resources belonging to a particular workload when that workload's namespace is deleted. This use case takes care of cases where these custom resources might have finalizers set against them. While this works, there is certainly more amount of work that needs to get into Metac. Among other things Metac's GenericController needs to be improved further to default to 2-way merge or 3-way merge (kubectl like apply) depending on scenarios. In this particular case, 2-way merge seemed to be a good choice over 3-way merge. Since, Metac does not support 2-way merge, this example had to make use of sync as well as finalize hook to achieve the end goal. Ideal implementation would have been to just make use of finalize hook to solve this requirement. Signed-off-by: AmitKumarDas <[email protected]>
- Loading branch information
Amit Kumar Das
authored
Oct 5, 2019
1 parent
4b8b0e7
commit 0c2ed34
Showing
23 changed files
with
1,076 additions
and
116 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.