In order to be able to deploy a workflow also on different environment than Kubernetes, for example on KNative, we have to add Profiles and Traits into to the Platform CRD.
As a basic use case we can consider workflow on:
These 3 different scenarios could be 3 different profiles that we will support into the Kogito Serverless Operator.
We will than define several traits, each one supporting one or more profile, in order to let the users to customize the behavior of the final workflow.
We can use as a reference implementation what Camel K is doing with Traits
Looking to the Camel K traits, we could make availble into the Kogito Serverless Operator the following:
|Define a Traits API to customize a Kubernetes Service
|Pull Request Sent