jordigilh opened a new pull request, #372: URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/372
Adds a new field in the `Spec` struct to allow defining a shareable postgreSQL persistence configuration for workflows and to platform services: https://github.com/jordigilh/incubator-kie-kogito-serverless-operator/blob/7f96442d27ae773d23cab74e84423b069dfe2f90/api/v1alpha08/sonataflowplatform_types.go#L49-L53 This configuration is inherited by workflows that require persistence when the persistence field in the workflow spec is initialized as empty. https://github.com/jordigilh/incubator-kie-kogito-serverless-operator/blob/ee06ddd88a03658dace236574108c2f446454186/controllers/profiles/common/object_creators_test.go#L383-L385 When both workflow CR and platform CR contain persistence, the workflow CR specification [will take precedence](https://github.com/jordigilh/incubator-kie-kogito-serverless-operator/blob/ee06ddd88a03658dace236574108c2f446454186/controllers/profiles/common/object_creators_test.go#L437). To keep backwards compatibility, if the `Persistence` field in the workflow CR is nil, no persistence will be provided to it. Extends e2e tests with one where the workflow CR retrieves the persistence from the platform. @ricardozanini @wmedvede @tchughesiv @domhanak PTAL. -- 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]
