File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
operator-framework-quarkus-extension
src/main/java/io/javaoperatorsdk/operator/sample Expand file tree Collapse file tree 3 files changed +5
-3
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.10.3 .Final</quarkus .version>
22
+ <quarkus .version>1.10.5 .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 >
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.10.3 .Final</quarkus .version>
20
+ <quarkus .version>1.10.5 .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 >
Original file line number Diff line number Diff line change @@ -17,13 +17,15 @@ public class QuarkusOperator implements QuarkusApplication {
17
17
18
18
@ Inject ConfigurationService configuration ;
19
19
20
+ @ Inject CustomServiceController controller ;
21
+
20
22
public static void main (String ... args ) {
21
23
Quarkus .run (QuarkusOperator .class , args );
22
24
}
23
25
24
26
@ Override
25
27
public int run (String ... args ) throws Exception {
26
- final var config = configuration .getConfigurationFor (new CustomServiceController ( client ) );
28
+ final var config = configuration .getConfigurationFor (controller );
27
29
System .out .println ("CR class: " + config .getCustomResourceClass ());
28
30
System .out .println ("Doneable class = " + config .getDoneableClass ());
29
31
Quarkus .waitForExit ();
You can’t perform that action at this time.
0 commit comments