Skip to content

Commit 3fa4382

Browse files
committed
wip
1 parent d8e92cf commit 3fa4382

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

docs/documentation/dependent-resources.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ permalink: /docs/dependent-resources
77

88
# Dependent Resources
99

10-
DISCLAIMER: The Dependent Resource support is relatively new and, while we strove to cover what we
10+
DISCLAIMER: The Dependent Resource support is relatively new feature, while we strove to cover what we
1111
anticipate will be the most common use cases, the implementation is not simple and might still
12-
evolve. As a result, some APIs could be still a subject of change in the future. However,
13-
non-backwards compatible changes are expected to be trivial to adapt to.
12+
evolve. As a result, some APIs could be a subject of change in the future. However,
13+
non-backwards compatible changes are expected to be trivial to migrate to.
1414

1515
## Motivations and Goals
1616

@@ -32,7 +32,7 @@ A{Secondary resource exists?}
3232
A -- Yes --> match
3333
A -- No --> Create --> Done
3434

35-
match{Matches desired state as defined by primary?}
35+
match{Matches desired state?}
3636
match -- Yes --> Done
3737
match -- No --> Update --> Done
3838

@@ -111,7 +111,7 @@ JOSDK will take the appropriate steps to wire everything together and call your
111111
This makes sense in most use cases where the logic associated with the primary resource is usually
112112
limited to status handling based on the state of the secondary resources. This behavior and
113113
automated handling is referred to as "managed" because the `DependentResource`
114-
implementations are managed by JOSDK. See related sample:
114+
implementations are managed by JOSDK. See [related sample](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageManagedDependentsReconciler.java):
115115

116116
```java
117117

@@ -141,9 +141,13 @@ public class WebPageManagedDependentsReconciler
141141
}
142142
```
143143

144-
145144
## Standalone Dependent Resources
146145

146+
To use dependent resources in more complex workflows, when the reconciliation requires additional logic, the standalone
147+
mode is available. In practice this means that the developer is responsible to initializing and managing and
148+
calling reconcile method.
149+
150+
147151

148152

149153
## Other Dependent Resources features

0 commit comments

Comments
 (0)