apache / incubator-kie-kogito-serverless-operator

Kubernetes operator for SonataFlow
Apache License 2.0
15 stars 41 forks source link

Setting QUARKUS_FLYWAY_MIGRATE_AT_START value false does not take effect in SonataFlowPlatform deployment. #497

Open rhkp opened 3 months ago

rhkp commented 3 months ago

Describe the bug

While deploying SonataFlowPlatform, setting QUARKUS_FLYWAY_MIGRATE_AT_START = false as below is not respected when the Data Index(DI) and Jobs Services(JS) are deployed. Despite setting the value to false, DI/JS attempt DB migration on startup. `podTemplate: container: env:

by now, when the WF persistence is initialized we don't set migration to true.

        # we can re-evaluate to default to true.
        - name: QUARKUS_FLYWAY_MIGRATE_AT_START
          value: 'false'   `

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Golang version

No response

Operator-sdk version

No response

SonataFlow Operator version or git rev

No response

Additional information

No response