Skip to content

Commit 92b5e4e

Browse files
committed
chore(docs): add description for getLabelSelector method
1 parent 9a00689 commit 92b5e4e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ControllerConfiguration.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ default String getFinalizer() {
2121
return ControllerUtils.getDefaultFinalizerName(getCRDName());
2222
}
2323

24+
/**
25+
* Retrieves the label selector that is used to filter which custom resources are actually watched
26+
* by the associated controller. See
27+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more details on
28+
* syntax.
29+
*
30+
* @return the label selector filtering watched custom resources
31+
*/
2432
default String getLabelSelector() {
2533
return null;
2634
}

0 commit comments

Comments
 (0)