File tree 5 files changed +31
-6
lines changed
operator-framework/src/test/java/io/javaoperatorsdk/operator
operator-framework-quarkus-extension
operator-framework-spring-boot-starter-test/src/test/java/io/javaoperatorsdk/operator/springboot/starter/test
5 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 19
19
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
20
20
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
21
21
<maven .compiler.parameters>true</maven .compiler.parameters>
22
- <quarkus .version>1.11.3 .Final</quarkus .version>
22
+ <quarkus .version>1.12.0 .Final</quarkus .version>
23
23
<compiler-plugin .version>3.8.1</compiler-plugin .version>
24
24
<maven .surefire.version>3.0.0-M5</maven .surefire.version>
25
25
</properties >
31
31
</modules >
32
32
<dependencyManagement >
33
33
<dependencies >
34
+ <dependency >
35
+ <groupId >io.fabric8</groupId >
36
+ <artifactId >kubernetes-client-bom</artifactId >
37
+ <version >${fabric8-client.version} </version >
38
+ <type >pom</type >
39
+ <scope >import</scope >
40
+ </dependency >
34
41
<dependency >
35
42
<groupId >io.quarkus</groupId >
36
43
<artifactId >quarkus-bom</artifactId >
Original file line number Diff line number Diff line change @@ -23,12 +23,16 @@ void testCrdLoaded() {
23
23
assertThat (applicationContext .getBean (Operator .class )).isNotNull ();
24
24
assertThat (
25
25
client
26
+ .apiextensions ()
27
+ .v1 ()
26
28
.customResourceDefinitions ()
27
29
.withName ("customservices.sample.javaoperatorsdk" )
28
30
.get ())
29
31
.isNotNull ();
30
32
assertThat (
31
33
client
34
+ .apiextensions ()
35
+ .v1 ()
32
36
.customResourceDefinitions ()
33
37
.withName ("customservices.global.sample.javaoperatorsdk" )
34
38
.get ())
Original file line number Diff line number Diff line change 7
7
import io .fabric8 .kubernetes .api .model .Namespace ;
8
8
import io .fabric8 .kubernetes .api .model .NamespaceBuilder ;
9
9
import io .fabric8 .kubernetes .api .model .ObjectMetaBuilder ;
10
- import io .fabric8 .kubernetes .api .model .apiextensions .v1beta1 .CustomResourceDefinition ;
10
+ import io .fabric8 .kubernetes .api .model .apiextensions .v1 .CustomResourceDefinition ;
11
11
import io .fabric8 .kubernetes .client .CustomResource ;
12
12
import io .fabric8 .kubernetes .client .KubernetesClient ;
13
13
import io .fabric8 .kubernetes .client .dsl .MixedOperation ;
@@ -72,7 +72,7 @@ public void initialize(
72
72
73
73
public CustomResourceDefinition loadCRDAndApplyToCluster (String classPathYaml ) {
74
74
CustomResourceDefinition crd = loadYaml (CustomResourceDefinition .class , classPathYaml );
75
- k8sClient .customResourceDefinitions ().createOrReplace (crd );
75
+ k8sClient .apiextensions (). v1 (). customResourceDefinitions ().createOrReplace (crd );
76
76
return crd ;
77
77
}
78
78
Original file line number Diff line number Diff line change 38
38
<junit .version>5.7.0</junit .version>
39
39
<surefire .version>3.0.0-M5</surefire .version>
40
40
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
41
- <fabric8-client .version>5.0 .0</fabric8-client .version>
41
+ <fabric8-client .version>5.1 .0</fabric8-client .version>
42
42
<slf4j .version>1.7.30</slf4j .version>
43
43
</properties >
44
44
56
56
<dependencies >
57
57
<dependency >
58
58
<groupId >io.fabric8</groupId >
59
- <artifactId >openshift -client</artifactId >
59
+ <artifactId >kubernetes -client-bom </artifactId >
60
60
<version >${fabric8-client.version} </version >
61
+ <type >pom</type >
62
+ <scope >import</scope >
61
63
</dependency >
64
+ <!-- <dependency>
65
+ <groupId>io.fabric8</groupId>
66
+ <artifactId>openshift-client</artifactId>
67
+ <version>${fabric8-client.version}</version>
68
+ </dependency>-->
62
69
<dependency >
63
70
<groupId >org.slf4j</groupId >
64
71
<artifactId >slf4j-api</artifactId >
Original file line number Diff line number Diff line change 17
17
<properties >
18
18
<maven .compiler.source>11</maven .compiler.source>
19
19
<maven .compiler.target>11</maven .compiler.target>
20
- <quarkus .version>1.11.3 .Final</quarkus .version>
20
+ <quarkus .version>1.12.0 .Final</quarkus .version>
21
21
<compiler-plugin .version>3.8.1</compiler-plugin .version>
22
22
<maven .compiler.parameters>true</maven .compiler.parameters>
23
23
</properties >
24
24
25
25
<dependencyManagement >
26
26
<dependencies >
27
+ <dependency >
28
+ <groupId >io.fabric8</groupId >
29
+ <artifactId >kubernetes-client-bom</artifactId >
30
+ <version >${fabric8-client.version} </version >
31
+ <type >pom</type >
32
+ <scope >import</scope >
33
+ </dependency >
27
34
<dependency >
28
35
<groupId >io.quarkus</groupId >
29
36
<artifactId >quarkus-bom</artifactId >
You can’t perform that action at this time.
0 commit comments