Skip to content

Commit 9eccbf4

Browse files
committed
docs
Signed-off-by: Attila Mészáros <csviri@gmail.com>
1 parent 1142a88 commit 9eccbf4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/documentation/v5-0-migration.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ permalink: /docs/v5-0-migration
1717
[`EventSourceUtils`](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/EventSourceUtils.java#L11-L11)
1818
now contains all the utility methods used for event sources naming that were previously defined in
1919
the `EventSourceInitializer` interface.
20-
3. `ManagedDependentResourceContext` has been renamed to `ManagedWorkflowAndDependentResourceContext` and is accessed
20+
3. Patching status through `UpdateControl` like the `patchStatus` method now by default
21+
uses Server Side Apply instead of simple patch. To use the former approach, use the feature flag
22+
in [`ConfigurationService`](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java#L400-L400)
23+
4. `ManagedDependentResourceContext` has been renamed to `ManagedWorkflowAndDependentResourceContext` and is accessed
2124
via the accordingly renamed `managedWorkflowAndDependentResourceContext` method.

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,10 @@ default boolean parseResourceVersionsForEventFilteringAndCaching() {
392392
}
393393

394394
/**
395-
* {@link io.javaoperatorsdk.operator.api.reconciler.UpdateControl} patchStatus
395+
* {@link io.javaoperatorsdk.operator.api.reconciler.UpdateControl} patchStatus can either use
396+
* simple update or SSA for status subresource patching.
397+
*
398+
* @return true by default
396399
*/
397400
default boolean useSSAForResourceStatusPatch() {
398401
return true;

0 commit comments

Comments
 (0)