File tree 4 files changed +5
-3
lines changed
operator-framework-quarkus-extension
samples/quarkus/src/main/java/io/javaoperatorsdk/operator/sample
4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 29
29
</dependency >
30
30
<dependency >
31
31
<groupId >io.quarkus</groupId >
32
- <artifactId >quarkus-kubernetes -client-deployment</artifactId >
32
+ <artifactId >quarkus-openshift -client-deployment</artifactId >
33
33
</dependency >
34
34
<dependency >
35
35
<groupId >io.quarkus</groupId >
Original file line number Diff line number Diff line change 29
29
</dependency >
30
30
<dependency >
31
31
<groupId >io.quarkus</groupId >
32
- <artifactId >quarkus-kubernetes -client</artifactId >
32
+ <artifactId >quarkus-openshift -client</artifactId >
33
33
</dependency >
34
34
<dependency >
35
35
<groupId >io.quarkus</groupId >
Original file line number Diff line number Diff line change 35
35
</dependency >
36
36
<dependency >
37
37
<groupId >io.quarkus</groupId >
38
- <artifactId >quarkus-test-kubernetes -client</artifactId >
38
+ <artifactId >quarkus-test-openshift -client</artifactId >
39
39
<scope >test</scope >
40
40
</dependency >
41
41
<dependency >
Original file line number Diff line number Diff line change 1
1
package io .javaoperatorsdk .operator .sample ;
2
2
3
+ import io .fabric8 .openshift .client .OpenShiftClient ;
3
4
import io .javaoperatorsdk .operator .Operator ;
4
5
import io .quarkus .runtime .Quarkus ;
5
6
import io .quarkus .runtime .QuarkusApplication ;
10
11
public class QuarkusOperator implements QuarkusApplication {
11
12
12
13
@ Inject Operator operator ;
14
+ @ Inject OpenShiftClient client ;
13
15
14
16
public static void main (String ... args ) {
15
17
Quarkus .run (QuarkusOperator .class , args );
You can’t perform that action at this time.
0 commit comments