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
now contains all the utility methods used for event sources naming that were previously defined in
19
19
the `EventSourceInitializer` interface.
20
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
21
+
uses Server Side Apply instead of simple patch. To use the former approach, use the feature flag
22
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
23
!!! IMPORTANT !!!
24
-
Migration from a non-SSA based controller to SSA based controller can cause problems, due to known issues.
25
-
See the following [integration test](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework/src/test/java/io/javaoperatorsdk/operator/StatusPatchSSAMigrationIT.java#L71-L82) where it is demonstrated.
26
-
Also, the related part of a [workaround](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework/src/test/java/io/javaoperatorsdk/operator/StatusPatchSSAMigrationIT.java#L110-L116).
24
+
Migration from a non-SSA based controller to SSA based controller can cause problems, due to known issues.
25
+
See the
26
+
following [integration test](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework/src/test/java/io/javaoperatorsdk/operator/StatusPatchSSAMigrationIT.java#L71-L82)
27
+
where it is demonstrated. Also, the related part of
28
+
a [workaround](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework/src/test/java/io/javaoperatorsdk/operator/StatusPatchSSAMigrationIT.java#L110-L116).
27
29
4.`ManagedDependentResourceContext` has been renamed to `ManagedWorkflowAndDependentResourceContext` and is accessed
28
30
via the accordingly renamed `managedWorkflowAndDependentResourceContext` method.
29
31
5.`ResourceDiscriminator` was removed. In most of the cases you can just delete the discriminator, everything should
30
32
work without it by default. To optimize and handle special cases see the relevant section in [Dependent Resource documentation](/docs/dependent-resources#multiple-dependent-resources-of-same-type).
33
+
6.`ConfigurationService.getTerminationTimeoutSeconds` and associated overriding mechanism have been removed,
34
+
use `Operator.stop(Duration)` instead.
35
+
7.`Operator.installShutdownHook()` has been removed, use `Operator.installShutdownHook(Duration)` instead
Copy file name to clipboardExpand all lines: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java
-11
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,6 @@ public class ConfigurationServiceOverrider {
Copy file name to clipboardExpand all lines: operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverriderTest.java
-3
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,6 @@ public <R extends HasMetadata> R clone(R object) {
0 commit comments