fix: initial commit for deploy fix when having duplicate kinds
- Dropped support for Ruby 2.7, has been EOL since 2019-12-25
- Dropped support for Kubernetes 1.19, has been EOL since 2021-10-28
- Fixed #895
I need to go through the tests, but I'm on board with the solution in general.
At first I was apprehensive about explicitly specifying groups for the hardcoded resources, but on the whole I don't think it's a problem:
- They represent mature objects that are unlikely to radically change
- If they do change, we can simply define a new GroupKind and ride out the deprecation
If the group kind for an existing resources changes we could simply copy the class and extend the original one.
It does tie our implementation to a specific set of kubernetes revisions, but as we already maintain a fairly tight skew, I don't see that as very problematic, overall.
This is already the case at the moment.
FYI: You will need to merge with this PR: https://github.com/Shopify/krane/pull/900 Version 2.4.9 will be cut from that, shortly.
I don't see this actually changing tests to run differently, but the commit message caught my eye. It's important that Krane be able to run multiple deploys currently, even when used as a gem. So just wanted to make super sure we are aware of that. 🙏
I don't see this actually changing tests to run differently, but the commit message caught my eye. It's important that Krane be able to run multiple deploys currently, even when used as a gem. So just wanted to make super sure we are aware of that. 🙏
Yes, because the tests take a long time I went through each test-suite separately. One of those is integration-serial so while I didn't specifically touch any files there, I needed to do these fixes to have these tests pass.
Not planning on merging this pull request. This pull request was needed to resolve some issues that would happen when used in combination with Crossplane. However we stopped using Crossplane. Even though it still would be nice to fix, it is way too risky to deploy since this is used everywhere.