Skip to content

Commit

Permalink
deps: Bump kubernetes-client-bom from 6.3.1 to 6.4.0
Browse files Browse the repository at this point in the history
- Switch to use Vert.x HttpClient implementation

Signed-off-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
manusa committed Jan 20, 2023
1 parent b163409 commit 381c6c4
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 2 deletions.
10 changes: 10 additions & 0 deletions extensions/kubernetes-client/deployment-internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<exclusions>
<exclusion>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-okhttp</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-vertx</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
11 changes: 11 additions & 0 deletions extensions/kubernetes-client/runtime-internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<scope>provided</scope> <!-- we don't want this ending up on the runtime classpath -->
<exclusions>
<exclusion>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-okhttp</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-vertx</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

Expand Down
10 changes: 10 additions & 0 deletions extensions/kubernetes-client/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<exclusions>
<exclusion>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-okhttp</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-vertx</artifactId>
</dependency>
<dependency>
<groupId>org.graalvm.nativeimage</groupId>
Expand Down
8 changes: 8 additions & 0 deletions extensions/kubernetes-client/spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<exclusions>
<exclusion>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-okhttp</artifactId>
</exclusion>
<exclusion>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
Expand All @@ -36,6 +40,10 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-vertx</artifactId>
</dependency>

</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,13 @@
<exclude>org.javassist:javassist</exclude>
<!-- Jandex moved to SmallRye -->
<exclude>org.jboss:jandex</exclude>
<!-- Ensure Fabric8 Kubernetes Client won't propagate OkHttp -->
<exclude>com.squareup.okhttp3:okhttp</exclude>
</excludes>
<includes>
<!-- this is for REST Assured -->
<include>jakarta.xml.bind:jakarta.xml.bind-api:*:*:test</include>
</includes>
</bannedDependencies>
</rules>
</enforcer>
</enforcer>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

<!-- Dependency versions -->
<jacoco.version>0.8.8</jacoco.version>
<kubernetes-client.version>6.3.1</kubernetes-client.version> <!-- Please check with Java Operator SDK team before updating -->
<kubernetes-client.version>6.4.0</kubernetes-client.version> <!-- Please check with Java Operator SDK team before updating -->

<!-- Make sure to check compatibility between these 2 gRPC components before upgrade -->
<grpc.version>1.52.1</grpc.version> <!-- when updating, verify if com.google.auth should not be updated too -->
Expand Down
10 changes: 10 additions & 0 deletions test-framework/kubernetes-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-server-mock</artifactId>
<exclusions>
<exclusion>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-okhttp</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-vertx</artifactId>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
Expand Down

0 comments on commit 381c6c4

Please sign in to comment.