-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DMS-243] Database configuration changes #206
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,10 @@ | |
"BypassStringTypeCoercion": "${BYPASS_STRING_COERCION}" | ||
}, | ||
"ConnectionStrings": { | ||
"DatabaseConnection": "host=${POSTGRES_HOST};port=${POSTGRES_PORT};username=${POSTGRES_USER};password=${POSTGRES_PASSWORD};database=edfi_datamanagementservice;" | ||
"DatabaseConnection": "${DATABASE_CONNECTION_STRING}" | ||
}, | ||
"DatabaseOptions": { | ||
"IsolationLevel": "${DATABASE_ISOLATION_LEVEL}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you think about moving this to the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It could be done either way but I isolated it here because the corresponding c# class in the backend project only needed this one property. It just felt cleaner in my brain to have |
||
}, | ||
"AllowedHosts": "*", | ||
"Serilog": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"ConnectionStrings": { | ||
"DatabaseConnection": "host=localhost;port=5432;username=postgres;database=edfi_datamanagementservice;pooling=true;minimum pool size=10;maximum pool size=50;Application Name=EdFi.DataManagementService" | ||
} | ||
}, | ||
"IsolationLevel": "RepeatableRead" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The connection string is base64 encoded? Is there a Kubernetes readme that should make note of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our README file points to the kubernetes secrets documentation which covers it. We could make it more explicit in our own README though.