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 efeb4b2 commit b160d45Copy full SHA for b160d45
operator-framework/src/main/java/io/javaoperatorsdk/operator/api/ResourceController.java
@@ -28,4 +28,10 @@ public interface ResourceController<R extends CustomResource> {
28
*/
29
UpdateControl<R> createOrUpdateResource(R resource, Context<R> context);
30
31
+ // What about we let developer to set the finalizer Name through overriding
32
+ // this method rather than setting it as attribute in annotation?
33
+ default String getDefaultFinalizerName() {
34
+ return this.getClass().getCanonicalName();
35
+ }
36
+
37
}
0 commit comments