hi all
I found that the only way to pass multiple read-replica hosts is by using multiple CLI flags:
--datastore-read-replica-conn-uri "postgres://access:access@localhost:5432/spicedb?sslmode=disable" \
--datastore-read-replica-conn-uri "postgres://access:access@localhost:5433/spicedb?sslmode=disable"
However, I couldn't find a way to do the same using environment variables.
I tried: SPICEDB_DATASTORE_READ_REPLICA_CONN_URI=postgres://access:access@localhost:5432/spicedb?sslmode=disable,postgres://access:access@localhost:5433/spicedb?
but it doesn't work because StringArrayVar does not split values by commas.
Is there a correct way to pass multiple replica URIs using ENV variables, or is this only possible via CLI flags?