-
Notifications
You must be signed in to change notification settings - Fork 29
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
disables dispatch for memory datastore #112
Conversation
I think you should also not announce the service: I think also gateway needs some fix, because following the tutorial the service announces it, but it has no backend. I've filed a new bug for that (#113). |
@ensonic thanks for opening the issue, that makes sense to me! |
pkg/config/config_test.go
Outdated
parts := strings.Split(env, "=") | ||
name := parts[0] | ||
value := parts[1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strings.Cut might be perfect here
@samkim mind having a look at the failing Ginko tests? 🙏🏻 |
I've patched in the CL (see #114) and now I get:
|
My bad. When I build from the PR, I had to restart the spicedb-operator deployment (set image was not enough). |
68a5069
to
230c186
Compare
fixes #111 users running the repository example where stuck because the SpiceDB instance spun up had Dispatch API server disabled, but actual dispatching enabled, so Check requests errored out. This adds tests to verify the untested method ToEnvVarApplyConfiguration() and makes sure memory datastore does not set dispatchUpstreamAddr Co-authored-by: Sam Kim <sam@authzed.com>
230c186
to
14cd210
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fixes #111
users running the repository example where stuck because the SpiceDB instance spun up had Dispatch API server disabled, but actual dispatching enabled, so
Check
requests errored out.This adds tests to verify the untested method
ToEnvVarApplyConfiguration()
and makes sure memory datastore does not set dispatchUpstreamAddr