Skip to content

Fix kuberntes-client exclusion#11892

Merged
ppatierno merged 1 commit intostrimzi:release-0.45.xfrom
fvaleri:fix-0.45
Sep 24, 2025
Merged

Fix kuberntes-client exclusion#11892
ppatierno merged 1 commit intostrimzi:release-0.45.xfrom
fvaleri:fix-0.45

Conversation

@fvaleri
Copy link
Copy Markdown
Member

@fvaleri fvaleri commented Sep 22, 2025

This patch fixes the following operator warning:

2025-09-19 09:38:34 WARN  HttpClientUtils:188 - The following httpclient factories were detected on your classpath: [io.fabric8.kubernetes.client.vertx.VertxHttpClientFactory, io.fabric8.kubernetes.client.jdkhttp.JdkHttpClientFactory], multiple of which had the same priority (0) so one was chosen randomly. You should exclude dependencies that aren't needed or use an explicit association of the HttpClient.Factory.

We upgraded kubernets-client from 6.13.4 to 7.2.0, skipping the upgrade to 7.0.0 that brings a runtime dependency on kubernetes-httpclient-vertx and required to update our exclusion.

https://github.com/strimzi/strimzi-kafka-operator/pull/10907/files

@fvaleri fvaleri requested a review from a team September 22, 2025 14:28
Copy link
Copy Markdown
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

Thaks @fvaleri

Copy link
Copy Markdown
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.

Thanks Fede!

@ppatierno ppatierno added this to the 0.45.2 milestone Sep 23, 2025
This patch fixes the following operator warning:

2025-09-19 09:38:34 WARN  HttpClientUtils:188 - The following httpclient factories were detected on your classpath: [io.fabric8.kubernetes.client.vertx.VertxHttpClientFactory, io.fabric8.kubernetes.client.jdkhttp.JdkHttpClientFactory], multiple of which had the same priority (0) so one was chosen randomly. You should exclude dependencies that aren't needed or use an explicit association of the HttpClient.Factory.

In 0.45.1 we upgraded kubernets-client from 6.13.4 to 7.2.0, skipping the upgrade to 7.0.0 that brings a runtime dependency on kubernetes-httpclient-vertx and required to update our exclusion.

https://github.com/strimzi/strimzi-kafka-operator/pull/10907/files

Signed-off-by: Federico Valeri <fedevaleri@gmail.com>
@ppatierno
Copy link
Copy Markdown
Member

/azp run regression

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@ppatierno
Copy link
Copy Markdown
Member

/azp run migration

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@ppatierno ppatierno merged commit b58d88b into strimzi:release-0.45.x Sep 24, 2025
21 checks passed
@fvaleri fvaleri deleted the fix-0.45 branch September 24, 2025 10:43
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.

4 participants