You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
11
11
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.
14
14
15
15
## Motivations and Goals
16
16
@@ -32,7 +32,7 @@ A{Secondary resource exists?}
32
32
A -- Yes --> match
33
33
A -- No --> Create --> Done
34
34
35
-
match{Matches desired state as defined by primary?}
35
+
match{Matches desired state?}
36
36
match -- Yes --> Done
37
37
match -- No --> Update --> Done
38
38
@@ -111,7 +111,7 @@ JOSDK will take the appropriate steps to wire everything together and call your
111
111
This makes sense in most use cases where the logic associated with the primary resource is usually
112
112
limited to status handling based on the state of the secondary resources. This behavior and
113
113
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):
115
115
116
116
```java
117
117
@@ -141,9 +141,13 @@ public class WebPageManagedDependentsReconciler
141
141
}
142
142
```
143
143
144
-
145
144
## Standalone Dependent Resources
146
145
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
0 commit comments