Skip to content

Conversation

migmartri
Copy link
Member

New flag that allows enabling sslmode during database migration. This is required for PostgreSQL 15 on AWS RDS

This is the effect of enabling the flag

--- /tmp/before.yaml    2023-07-25 11:34:46.356110212 +0200
+++ /tmp/after.yaml     2023-07-25 11:43:03.134694777 +0200
@@ -1203,6 +1203,6 @@
             - migrate
             - apply
             - --url
-            - "postgres://chainloop:chainlooppwd@foo-postgresql:5432/chainloop-cp?sslmode=disable"
+            - "postgres://chainloop:chainlooppwd@foo-postgresql:5432/chainloop-cp"
             - --dir
             - file:///migrations

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri requested a review from danlishka July 25, 2023 09:45
@migmartri migmartri merged commit be30ebf into chainloop-dev:main Jul 25, 2023
@migmartri migmartri deleted the update-ssl-helm-chart branch July 25, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants