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

How to specify a Postgres database other than defaultdb #39

Open
hseeberger opened this issue Apr 26, 2023 · 1 comment
Open

How to specify a Postgres database other than defaultdb #39

hseeberger opened this issue Apr 26, 2023 · 1 comment

Comments

@hseeberger
Copy link

In a Postgres database cluster we can have multiple databases, e.g. per application/service. By default a cluster is created with a single database called defaultdb, but additional databases can be created via the control panel or doctl.

When using the DatabaseClusterReference I have not found a way to specify a specific database and hence the created configmaps reference defaultdb.

Is there a way to change this?

@JipSterk
Copy link

i'm currently experiencing the same issue as you @hseeberger. i can update the config map called: <redacted>-database-reference-private-connection using lens. It points to the database i have created through the digital ocean Users & Databases tab. but if i restart the pod referencing the config map it always resets it's value to point to defaultdb

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

No branches or pull requests

2 participants