Skip to content

Commit

Permalink
chore(deps): update to Fabric8 client 5.10.0 (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
metacosm authored Nov 11, 2021
1 parent cbd106a commit 9a0e69c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package io.quarkiverse.operatorsdk.it;

import io.quarkus.test.kubernetes.client.KubernetesServerTestResource;

public class CustomKubernetesServerTestResource extends KubernetesServerTestResource {

@Override
protected void configureServer() {
super.configureServer();
server.expect().get().withPath("/version")
.andReturn(200, "{\"major\": \"13\", \"minor\": \"37\"}").always();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@

import io.quarkus.test.common.QuarkusTestResource;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.kubernetes.client.KubernetesServerTestResource;

@QuarkusTest
@QuarkusTestResource(KubernetesServerTestResource.class)
@QuarkusTestResource(CustomKubernetesServerTestResource.class)
public class OperatorSDKResourceTest {

@Test
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.version>2.4.1.Final</quarkus.version>
<java-operator-sdk.version>1.9.11</java-operator-sdk.version>
<kubernetes-client.version>5.8.0</kubernetes-client.version>
<kubernetes-client.version>5.10.0</kubernetes-client.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit 9a0e69c

Please sign in to comment.