title | description | layout | permalink |
---|---|---|---|
Migrating from v4.7 to v5.0 |
Migrating from v4.7 to v5.0 |
docs |
/docs/v5-0-migration |
- Result of managed dependent resources
is not
Optional
anymore. In case you use this result, simply use the result objects directly. EventSourceInitializer
is not a separate interface anymore. It is part of theReconciler
interface with a default implementation. You can simply remove this interface from your reconciler. TheEventSourceUtils
now contains all the utility methods used for event sources naming that were previously defined in theEventSourceInitializer
interface.- Patching status through
UpdateControl
like thepatchStatus
method now by default uses Server Side Apply instead of simple patch. To use the former approach, use the feature flag inConfigurationService
!!! IMPORTANT !!! Migration from a non-SSA based controller to SSA based controller can cause problems, due to known issues. See the following integration test where it is demonstrated. Also, the related part of a workaround. ManagedDependentResourceContext
has been renamed toManagedWorkflowAndDependentResourceContext
and is accessed via the accordingly renamedmanagedWorkflowAndDependentResourceContext
method.ResourceDiscriminator
was removed. In most of the cases you can just delete the discriminator, everything should work without it by default. To optimize and handle special cases see the relevant section in Dependent Resource documentation.