diff --git a/docs/content/en/blog/releases/v5-release.md b/docs/content/en/blog/releases/v5-release.md index 58f4978b5e..2e225616b9 100644 --- a/docs/content/en/blog/releases/v5-release.md +++ b/docs/content/en/blog/releases/v5-release.md @@ -55,7 +55,7 @@ Such an informer behaves exactly as a regular one. Owner references won't work i specify a `SecondaryToPrimaryMapper` (probably based on labels or annotations). See related integration -test [here](https://github.com/operator-framework/java-operator-sdk/tree/1635c9ea338f8e89bacc547808d2b409de8734cf/operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/informerremotecluster) +test [here](https://github.com/operator-framework/java-operator-sdk/tree/main/operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/informerremotecluster) #### SecondaryToPrimaryMapper now checks resource types diff --git a/docs/content/en/docs/features/_index.md b/docs/content/en/docs/features/_index.md index c9201d5700..12528d3a7e 100644 --- a/docs/content/en/docs/features/_index.md +++ b/docs/content/en/docs/features/_index.md @@ -473,7 +473,7 @@ public class WebappReconciler @Override public Map prepareEventSources(EventSourceContext context) { InformerConfiguration configuration = - InformerConfiguration.from(Tomcat.class, context) + InformerEventSourceConfiguration.from(Tomcat.class, Tomcat.class) .withSecondaryToPrimaryMapper(webappsMatchingTomcatName) .withPrimaryToSecondaryMapper( (Webapp primary) -> Set.of(new ResourceID(primary.getSpec().getTomcat(), @@ -672,7 +672,7 @@ public class MyReconciler implements Reconciler { EventSourceContext context) { InformerEventSource configMapES = - new InformerEventSource<>(InformerConfiguration.from(ConfigMap.class) + new InformerEventSource<>(InformerEventSourceConfiguration.from(ConfigMap.class, TestCustomResource.class) .withNamespacesInheritedFromController(context) .build(), context); diff --git a/docs/content/en/docs/workflows/_index.md b/docs/content/en/docs/workflows/_index.md index 19b5fab104..620f8c5436 100644 --- a/docs/content/en/docs/workflows/_index.md +++ b/docs/content/en/docs/workflows/_index.md @@ -115,8 +115,8 @@ public class SampleWorkflowReconciler implements Reconciler