gorgeous-pillow-75454
11/07/2022, 5:44 AMketo migrate up
in a separate container. The command runs without problems.
Then I run keto. It gives a message on startup
level=info msg=No tracer configured - skipping tracing setup func=<http://github.com/ory/x/logrusx.(*Logger).Logf|github.com/ory/x/logrusx.(*Logger).Logf> file=/go/pkg/mod/github.com/ory/x@v0.0.473/logrusx/helper.go:118 audience=application service_name=Ory Keto service_version=v0.10.0-alpha.0
but it works and doesn't close.
Then I try to call relation-tuple create
in various ways in a separate container. And none work.
I've tried calling relation-tuple parse
(policies.rts from RBAC example) first and saving the result to a json-file. I then called relation-tuple create
and specified that file.
I also tried calling relation-tuple create
and specifying the relation-tuples
folder with the files from the cat video example.
I have tried running these commands directly from the oryd/keto:v0.10.0-alpha.0
container and have tried making my own Dockerfile and extending the oryd/keto:v0.10.0-alpha.0
image. I specify the correct --read-remote
and --write-remote
arguments.
But calling relation-tuple create
throws Error: context deadline exceeded
every time.
If I add the --insecure-disable-transport-security
flag, I get the error Error doing the request: rpc error: code = Unimplemented desc = unknown service ory.keto.relation_tuples.v1alpha2.WriteService
.
I have a simple keto config:
version: v0.10.0-alpha.0
dsn: memory
log:
level: trace
serve:
read:
host: 0.0.0.0
port: 4466
write:
host: 0.0.0.0
port: 4467
namespaces:
- id: 0
name: videos
- id: 1
name: groups
- id: 2
name: reports
I overwrite the DSN through an environment variable in docker-compose.yml.
What is the proper way for me to execute the relation-tuple create
command from a separate container? I want to keep security settings enabled.
Is there a way to run keto and call relation-tuple create
in the same container?
Sorry for bad English. This is not my native language.