masayag opened a new issue, #321:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/321

   ### Description
   
   Certain changes to the SonataflowPlatform CR might have an impact on 
workflows that are already deployed (or running) in the cluster.
   Such change may include an update to the DataIndex service or a secret of 
the PostgreSQL.
   The owner of the platform should be able to determine the desired behavior 
in case such a change occurs.
   
   Today, there is a boolean flag 
[`Enabled`](https://github.com/apache/incubator-kie-kogito-serverless-operator/blob/main/api/v1alpha08/sonataflowplatform_services_types.go#L29)
 for each service, that determines how prod-profile workflow should react when 
a service is enabled/disabled.
   
   ### Implementation ideas
   
   By replacing the  
[`Enabled`](https://github.com/apache/incubator-kie-kogito-serverless-operator/blob/main/api/v1alpha08/sonataflowplatform_services_types.go#L29)
 with a rolling-strategy property, the admin will be able to define the desired 
behavior when a service at a platform level is changed.
   
   Suggested options for rolling-strategy property could be:
   * Disabled - do not act when changes are made at a platform level. This may 
lead to out-of-sync between the runtime configuration of a workflow to their 
actual deployed values.
   * RollingUpdate - roll out the changes to the workflows.
   * Detached - workflows will not be using the services of this platform. 
(same semantics as the previous `Enabled: false`).
   
   The discussion was initiated 
[here](https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/311#discussion_r1419404469)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to