8000 Remove customResourceClass · rguillens/java-operator-sdk@0ffe8ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ffe8ef

Browse files
author
Soroosh Sarabadani
committed
Remove customResourceClass
1 parent 1e2efe0 commit 0ffe8ef

File tree

1 file changed

+2
-3
lines changed
  • operator-framework/src/main/java/io/javaoperatorsdk/operator/api

1 file changed

+2
-3
lines changed

operator-framework/src/main/java/io/javaoperatorsdk/operator/api/Controller.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
package io.javaoperatorsdk.operator.api;
22

3-
import io.fabric8.kubernetes.client.CustomResource;
3+
import io.quarkus.runtime.annotations.RegisterForReflection;
44

55
import java.lang.annotation.ElementType;
66
import java.lang.annotation.Retention;
77
import java.lang.annotation.RetentionPolicy;
88
import java.lang.annotation.Target;
99

1010
@Retention(RetentionPolicy.RUNTIME)
11+
@RegisterForReflection
1112
@Target({ElementType.TYPE})
1213
public @interface Controller {
1314
String NULL = "";
1415

1516
String crdName();
1617

17-
Class<? extends CustomResource> customResourceClass();
18-
1918
/**
2019
* Optional finalizer name, if it is not,
2120
* the crdName will be used as the name of the finalizer too.

0 commit comments

Comments
 (0)
0