We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6361e50 commit efeb4b2Copy full SHA for efeb4b2
operator-framework/src/main/java/io/javaoperatorsdk/operator/api/Controller.java
@@ -10,14 +10,17 @@
10
@Retention(RetentionPolicy.RUNTIME)
11
@Target({ElementType.TYPE})
12
public @interface Controller {
13
-
14
- String DEFAULT_FINALIZER = "operator.default.finalizer";
+ String NULL = "";
15
16
String crdName();
17
18
Class<? extends CustomResource> customResourceClass();
19
20
- String finalizerName();
+ /**
+ * Optional finalizer name, if it is not,
21
+ * the canonical name of the Controller class will be used as the name of the finalizer.
22
+ */
23
+ String finalizerName() default NULL;
24
25
/**
26
* If true, will dispatch new event to the controller if generation increased since the last processing, otherwise will
0 commit comments