fix(ci): correct Quarkus reactive PostgreSQL SSL env var name#4198
Open
chadcrum wants to merge 1 commit intoredhat-developer:release-1.9from
Open
fix(ci): correct Quarkus reactive PostgreSQL SSL env var name#4198chadcrum wants to merge 1 commit intoredhat-developer:release-1.9from
chadcrum wants to merge 1 commit intoredhat-developer:release-1.9from
Conversation
The SonataFlowPlatform patch was using incorrect environment variable name for configuring SSL mode on the reactive PostgreSQL driver. - QUARKUS_DATASOURCE_REACTIVE_SSL_MODE (wrong) + QUARKUS_DATASOURCE_REACTIVE_POSTGRESQL_SSL_MODE (correct) The Quarkus property `quarkus.datasource.reactive.postgresql.ssl-mode` requires the database-specific namespace in the env var name. Also removed QUARKUS_DATASOURCE_REACTIVE_URL as the SonataFlow operator strips URL query parameters during reconciliation, and changed SSL mode from 'require' to 'allow' to match main branch. This fixes jobs-service CrashLoopBackOff caused by: FATAL: no pg_hba.conf entry for host "X.X.X.X", user "janus-idp", database "sonataflow", no encryption (28000)
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Contributor
Author
|
/ok-to-test |
Contributor
Author
|
/test e2e-ocp-helm-nightly |
ⓘ Your monthly quota for Qodo has expired. Upgrade your plan ⓘ Paying users. Check that your Qodo account is linked with this Git user account |
Contributor
|
The image is available at: |
Contributor
|
This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 21 days. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
QUARKUS_DATASOURCE_REACTIVE_URL(operator strips query params)requiretoallowto match main branchProblem
The
sonataflow-platform-jobs-servicewas crashing with:Root Cause
The environment variable
QUARKUS_DATASOURCE_REACTIVE_SSL_MODEis incorrect. The Quarkus propertyquarkus.datasource.reactive.postgresql.ssl-moderequires the database-specific namespace, so the correct env var isQUARKUS_DATASOURCE_REACTIVE_POSTGRESQL_SSL_MODE.Test plan