Add v1 version of the Strimzi API and the related conversion tool#12014
Add v1 version of the Strimzi API and the related conversion tool#12014scholzj merged 7 commits intostrimzi:mainfrom
v1 version of the Strimzi API and the related conversion tool#12014Conversation
|
/gha run pipeline=upgrade |
|
⏳ System test verification started: link The following 4 job(s) will be executed:
Tests will start after successful build completion. |
|
❌ System test verification failed: link |
|
/gha run pipeline=regression |
|
⏳ System test verification started: link The following 6 job(s) will be executed:
Tests will start after successful build completion. |
|
❌ System test verification failed: link |
|
/azp run build |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run regression |
|
Azure Pipelines successfully started running 1 pipeline(s). |
5800df4 to
b331e22
Compare
650d66c to
ed1fedc
Compare
|
/azp run build |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run regression |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run build |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run build |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run build |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ed1fedc to
b0d61a2
Compare
PaulRMellor
left a comment
There was a problem hiding this comment.
I reviewed the readme for the tool only.
Looks good.
I left a few suggestions as I read through.
PaulRMellor
left a comment
There was a problem hiding this comment.
I reviewed the readme for the tool only.
Looks good.
I left a few suggestions as I read through.
b0d61a2 to
6667c82
Compare
|
@PaulRMellor Thanks, your review comments should be in or replied to. |
| LOGGER.info("Scaling subresource replicas to {}", scaleTo); | ||
|
|
||
| KubeResourceManager.get().kubeCmdClient().inNamespace(testStorage.getNamespaceName()).scaleByName(KafkaMirrorMaker2.RESOURCE_KIND, testStorage.getClusterName(), scaleTo); | ||
| // We use the KafkaMirrorMaker2.v1beta2.kafka.strimzi.io kind to use the v1beta2 API. It should be removed once the KafkaConnect CR used is a valid v1 resource. |
There was a problem hiding this comment.
Should we create an issue for it (to replace it)? Or do you think that once the tests start failing, we will figure it out? :D
There was a problem hiding this comment.
I will open an issue if this ever gets approved.
Thanks. I've seen the replies. No more comments on the readme |
ppatierno
left a comment
There was a problem hiding this comment.
I had a first pass.
Regarding the conversion tool, I focused mostly on reviewing the specific conversions you put in place (for all custom resources) but I guess that the boilerplate code is coming from the old conversion tool. Is that right?
@ppatierno Yeah, the core logic of the conversion tool is the same as last time. I pretty much:
|
Frawless
left a comment
There was a problem hiding this comment.
Just a nit, overall it looks good to me.
|
@ppatierno Any chance you can get back to this? It would be nice to be able to merge this and proceed with the next steps. |
see-quick
left a comment
There was a problem hiding this comment.
It took me a while to review this PR. Thanks for working on this 👍 . I didn't find any issues just a nit. LGTM!
Signed-off-by: Jakub Scholz <www@scholzj.com>
Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Jakub Scholz <www@scholzj.com>
Signed-off-by: Jakub Scholz <www@scholzj.com>
Signed-off-by: Jakub Scholz <www@scholzj.com>
Signed-off-by: Jakub Scholz <www@scholzj.com>
Signed-off-by: Jakub Scholz <www@scholzj.com>
Signed-off-by: Jakub Scholz <www@scholzj.com>
585c293 to
9ed1056
Compare
|
/gha run pipeline=regression |
|
/azp run regression |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
⏳ System test verification started: link The following 6 job(s) will be executed:
Tests will start after successful build completion. |
|
❌ System test verification failed: link |
1 similar comment
|
❌ System test verification failed: link |
Type of change
Description
Note: This PR is currently a draft used to make sure all tests are passing.
This PR delivers the Strimzi
v1API andv1APi Conversion Tool. It is based on the proposals 113 - Strimziv1CRD API and 1.0.0 release and 117 -v1CRD API Conversion Tool.It does the following:
v1versionv1version of the API in the CRDs inpackaging/apimodule resources (this is important to make sure we do not need to change the API Conversion Tool tests later when changing the CRD versions inpackaging/)v1beta2as the stored API versionv1API version when communicating with the Kubernetes APIv1CRD API Conversion Tool for converting the CRDs and upgrading themIt should help to resolve the issues #11932, #11933, #10074, and #11809.
Documentation will be delivered in separate PRs. But the conversion tool and all conversions it does are covered in its README.md file. This should be the source for documenting the manual conversions as well.
Checklist