Skip to content
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

Use shared Postgres database for different services #269

Open
pvannierop opened this issue Jun 11, 2024 · 2 comments
Open

Use shared Postgres database for different services #269

pvannierop opened this issue Jun 11, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@pvannierop
Copy link

Several services use the Management Portal Postgres database to store data (as opposed to each spinning up a dedicated database pod). At present the transfer of database connection settings (url, secrets, etc.) is needed from the Management Portal helmfile config to the other services.

It would be nice to refactor the helmfile values and secretes so that the database connection settings are defined as global parameters analogous to for instance server_name.

@pvannierop pvannierop added the enhancement New feature or request label Jun 11, 2024
@pvannierop pvannierop self-assigned this Jun 11, 2024
@yatharthranjan
Copy link
Member

We use managed AWS RDS and at present we use different user/pass for each database and hence cannot be shared. We would also like to keep the option open to use a different database instance (esp. for appserver). We can have a global common and keep the app specific ones too, then in the helmfiles we can use if/else to check if the app specific ones are configured. If not then it will use the common shared ones?

@pvannierop
Copy link
Author

We can have a global common and keep the app specific ones too, then in the helmfiles we can use if/else to check if the app specific ones are configured.

Agree!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants