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

[Feature] Support separate datastore_uris for migrations and application access #338

Open
jackwellsxyz opened this issue Oct 9, 2024 · 0 comments

Comments

@jackwellsxyz
Copy link

Overview

Currently, spicedb-operator supports a single datastore_uri connection string for both database migrations (via spicedb-operator) and normal SpiceDB application access by passing this string through to the SpiceDB pods the operator spins up. I'd like the operator to instead support two different connection strings, since the migrator would need elevated access to e.g. create/drop tables that the SpiceDB application shouldn't.

Suggested solution

I'd suggest adding support for a secret key called migration_datastore_uri that, if present, is used for migrations instead of datastore_uri. This new secret key is not passed to the SpiceDB application.

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

1 participant