RobertM
11/22/2022, 4:29 AMsecretName
- is this correct? I'm basing my assumption on:
https://github.com/authzed/spicedb-operator/blob/cac0628fcdc84c111d081f303641a790925a17f9/pkg/config/config.go#L198-L217
Is there another way I could provide datastore_uri
for operator to use for clusters? env variable?
Are there plans to introduce any other way?
Currently I have credentials that I want to use in datastore_uri
in another secret, so I'm looking for a solution here...
Thanks!ethanlew
11/22/2022, 4:31 AMJoey
11/22/2022, 4:33 AMRobertM
11/22/2022, 4:34 AMJoey
11/22/2022, 4:34 AMJoey
11/22/2022, 4:34 AMJoey
11/22/2022, 4:34 AMJoey
11/22/2022, 4:35 AMdefinition user {}
definition platform {
relation superuser: user
}
definition resource {
relation platform: platform
relation viewer: user
permission view = viewer + platform->superuser
}
Joey
11/22/2022, 4:35 AMethanlew
11/22/2022, 4:36 AMJoey
11/22/2022, 4:37 AMJoey
11/22/2022, 4:37 AMJoey
11/22/2022, 4:37 AMsymion
11/22/2022, 6:17 PMsymion
11/22/2022, 6:17 PMvroldanbet
11/22/2022, 6:31 PMspicedb serve --help
should offer you an exhaustive listSingha1
11/22/2022, 8:51 PMjzelinskie
11/22/2022, 11:08 PMensonic
11/23/2022, 10:24 AMkubectl apply --server-side -k github.com/authzed/spicedb-operator/config
I am still on 1..11.0:
zed version
client: zed 0.7.5
11:22AM WRN the version of SpiceDB being called is out of date. See: https://github.com/authzed/spicedb/releases/tag/v1.15.0 latest-released-version=v1.15.0 this-version=v1.11.0
service: v1.11.0
what am I missing?ensonic
11/23/2022, 10:25 AMvroldanbet
11/23/2022, 11:03 AMspec:
config:
image: authzed/spicedb:v1.15.0
ensonic
11/23/2022, 11:32 AMensonic
11/23/2022, 11:39 AMensonic
11/23/2022, 11:43 AMzed version
client: zed 0.7.5
service: v1.15.0
...
zed permission check blog/post:1 read blog/user:emilia --revision "${ZEDTOKEN}"
Error: rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing dial tcp 192.168.9.11:50053: connect: connection refused"
Can/Should I disable dispatch in the operator config? And is there is list of cli-flags for spicedb ?vroldanbet
11/23/2022, 11:45 AMspicedb serve --help
. The parameter to disable dispatch is --dispatch-upstream-addr
, setting it to empty string disables dispatching, AFAIKvroldanbet
11/23/2022, 11:46 AMvroldanbet
11/23/2022, 11:46 AMensonic
11/23/2022, 11:48 AMgo install github.com/authzed/spicedb@v1.15.0
go: github.com/authzed/spicedb@v1.15.0 (in github.com/authzed/spicedb@v1.15.0):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
vroldanbet
11/23/2022, 11:48 AMdispatchUpstreamAddr
to your CR with an empty string to see if that forcesvroldanbet
11/23/2022, 11:51 AM