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

   ### Description
   
   Enhance the api to communicate to theĀ user which platform settings are being 
applied to workflows cluster-wide. If possible, allow the user to choose the 
type of platform setting applied (services, build, etc).
   
   ### Implementation ideas
   
   Create a new string array at `spec.enabledSettings` (or something similar) 
that defines which platform settings are being exposed to workflows 
cluster-wide. Leverage CRD validation to restrict this slice to certain *exact* 
values... in our case `services`, and potentially `build` in the future.
   ```golang
   type SonataFlowClusterPlatformSpec struct {
        PlatformRef SonataFlowPlatformRef `json:"platformRef"`
   
        // +kubebuilder:validation:UniqueItems=true
        // +kubebuilder:validation:Enum=services;build
        EnabledSettings []string `json:"enabledSettings,omitempty"`
   }
   ```
   ```yaml
   apiVersion: sonataflow.org/v1alpha08
   kind: SonataFlowClusterPlatform
   metadata:
     name: cluster-platform
   spec:
     platformRef:
       name: sonataflow-platform
       namespace: central-platform-ns
     enabledSettings:
     - services
     - build (in the future?)
   ```


-- 
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