user
07/03/2024, 9:42 AM--datastore-bootstrap-overwrite=true
but when i use this flag the previous namespaces in schema remain existing while the new one is added, is there's a way to only apply the new schema after updating the bootstrap file?vroldanbet
07/03/2024, 9:59 AMvroldanbet
07/03/2024, 10:00 AM--datastore-bootstrap-overwrite=true
is being correctly injected into your SpiceDB Deployment
?vroldanbet
07/03/2024, 10:00 AMSPICEDB_DATASTORE_BOOTSTRAP_OVERWRITE
vroldanbet
07/03/2024, 10:01 AM--datastore-bootstrap-files strings bootstrap data yaml files to load
--datastore-bootstrap-overwrite overwrite any existing data with bootstrap data
--datastore-bootstrap-timeout duration maximum duration before timeout for the bootstrap data to be written (default 10s)
`
user
07/03/2024, 10:01 AM--datastore-bootstrap-overwrite=true
i don't have any error again but the old schema is not deleted, i have the old schema merged with the new schema definitionvroldanbet
07/03/2024, 10:11 AMuser
07/03/2024, 10:20 AMdefinition file{...}
and i want to replace it with new schema with another namespace definition document{..}
, as a result i have a schema with two namespaces `definition file{...} `and definition document{..}
vroldanbet
07/03/2024, 10:23 AMvroldanbet
07/03/2024, 10:23 AMuser
07/03/2024, 10:23 AMuser
07/03/2024, 10:23 AMvroldanbet
07/03/2024, 10:29 AM--datastore-bootstrap-overwrite
is "additive" in that it leaves the previous namespaces around and adds the ones from the bootstrap file?vroldanbet
07/03/2024, 10:31 AMinit
container in your deployment that calls zed schema write
. You can use the operators "patch" functionality to patch the SpiceDB deployment with such an init container, which would mount the config map and write to spicedb using zed schema write
vroldanbet
07/03/2024, 10:32 AMuser
07/03/2024, 11:19 AMuser
07/03/2024, 12:33 PMvroldanbet
07/03/2024, 3:03 PMuser
07/04/2024, 7:04 PMJoey
07/04/2024, 7:05 PMJoey
07/04/2024, 7:05 PMuser
07/04/2024, 7:28 PMuser
07/04/2024, 7:29 PMvroldanbet
07/05/2024, 9:35 AM