https://authzed.com logo
is there documentation of the
y

yetitwo

04/14/2023, 4:43 PM
is there documentation of the permissible values on the spicedb operator somewhere? i've found the example and the snippet in the readme, but I want a sense of the full range of values and what they're for.
y

yetitwo

04/14/2023, 4:45 PM
yes! thank you. i didn't know what to look for there.
v

vroldanbet

04/14/2023, 4:51 PM
that's essentially all the configuration parameters that the SpiceDB process takes. So every option provided by
spicedb serve --help
, just in camel-case. e.g.
config:
  logLevel: warn
(instead of
--log-level
via CLI options or
SPICEDB_LOG_LEVEL
via envs)
y

yetitwo

04/14/2023, 6:13 PM
ahhh got it. thank you!
but secret names are snake_case?
v

vroldanbet

04/14/2023, 8:41 PM
I'm not sure it's required. Perhaps a question for @ecordell
y

yetitwo

04/17/2023, 4:02 PM
also was wondering - some of those configuration keys seem to be k8s-level stuff, like [these](https://github.com/authzed/spicedb-operator/blob/main/examples/cockroachdb-tls-ingress/spicedb/spicedb.yaml#L17-L19)
is there documentation of those?
v

vroldanbet

04/18/2023, 8:11 AM
Hey @yetitwo ! 👋🏻 I don't think there is any docs around those, would you mind opening an issue? You can see the list of keys in the source code here: https://github.com/authzed/spicedb-operator/blob/205ad10fc8f9fb736d9d5f2e7d8579e78d66be3b/pkg/config/config.go#L51-L79
e

ecordell

04/18/2023, 1:59 PM
There are docs on the website here: https://authzed.com/docs/spicedb/operator#flags though the list is out of date, the general idea is still valid - config that the operator doesn't need to do anything special for are passed down to the spicedb pod as env vars
y

yetitwo

04/18/2023, 2:15 PM
awesome. thank you!