tchughesiv commented on PR #372:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/372#issuecomment-1936473807

   > 4. **workflowtimeouts WF, with the configuration below has failed to 
deploy:**
   >    Here we would expect that the WF picks the platform persistence 
configuration and use it's own configured schema wf_timeouts.
   > 
   > But the following error was produced at deployment. (Please @jordigilh 
correct me if the configuration is wrong.
   > 
   > `The SonataFlow "workflowtimeouts" is invalid: 
spec.persistence.postgresql: Invalid value: 1: spec.persistence.postgresql in 
body should have at least 2 properties`
   > 
   > ```
   > apiVersion: sonataflow.org/v1alpha08
   > kind: SonataFlow
   > metadata:
   >   name: workflowtimeouts
   >   annotations:
   >     sonataflow.org/description: Workflow Timeouts Example k8s
   >     sonataflow.org/version: 0.0.1
   > spec:
   >   persistence:
   >     postgresql:
   >       serviceRef:
   >         databaseSchema: wf_timeouts
   > ```
   
   @wmedvede this is because `secretRef` is required here, as well as either 
the `serviceRef` or `jdbcUrl` field. Just add `secretRef` and the error should 
go away.


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