Hi folks, how could I deploy isolated environments of SpiceDB for temporary testing environments?
In the company I work for we try to provide isolated environments every time someone opens a GitHub PR. Ideally, any change only applies to their version of the app.
I want to be able to create different SpiceDB instance on each PR. That seems possible by adding a SpiceDB instance to each k8s namespace for each of temp environments. Schema changes would only apply to that instance.
Where I'm stuck is how can I feed existing relationship data to this recently created instance?
Is there a way I can copy relationships from another SpiceDB instance? We often have a Staging environment of each application with test data. We start PR env dbs by loading a backup of this staging environment. Would that work if we use the Postgres backend for SpiceDB?