Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Vert.x dependency from the operator-common module and from UO and TO #9887

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Mar 27, 2024

Type of change

  • Enhancement / new feature

Description

After the removal of the BTO, Vert.x is no used only int he Cluster Operator. This PR moves the Vert.x based Kubernetes Resource Operators to the cluster-operator module together with the VertxUtils class. These were the last Vert.x based classes in the operator-common module. So this frees it from the dependency on Vert.x and stops pulling VErt.x also into the UO and TO.

Most of the changes in this PR are just moved classes and changed imports. The Kubernetes resource operators were moved to a new kubernetes subpackage since the resource operators package in the Cluster OPerator is already full of various Kafka and ZooKeeper stuff, so having a separate package provides better separation. The configuration of the Vert.x cache directory was also moved to be set only in the CO startup shell script.

Checklist

  • Make sure all tests pass
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally

…and TO

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.41.0 milestone Mar 27, 2024
@scholzj scholzj requested a review from ppatierno March 27, 2024 16:52
@scholzj scholzj changed the title Remove Vert.x dependency from the operator-common module and from UO and TO Remove Vert.x dependency from the operator-common module and from UO and TO Mar 27, 2024
@scholzj
Copy link
Member Author

scholzj commented Mar 27, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@fvaleri fvaleri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@scholzj
Copy link
Member Author

scholzj commented Mar 27, 2024

/azp run upgrade

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Mar 28, 2024

/azp run kraft-regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@scholzj scholzj merged commit e63ade5 into strimzi:main Mar 28, 2024
33 checks passed
@scholzj scholzj deleted the free-UO-and-TO-from-Vert.x branch March 28, 2024 08:29
steffen-karlsson pushed a commit to steffen-karlsson/strimzi-kafka-operator that referenced this pull request Apr 2, 2024
…O and TO (strimzi#9887)

Signed-off-by: Jakub Scholz <www@scholzj.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants