Skip to content
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

Document volume mount path for datastoreTLSSecretName #170

Open
ecordell opened this issue Mar 18, 2023 · 1 comment
Open

Document volume mount path for datastoreTLSSecretName #170

ecordell opened this issue Mar 18, 2023 · 1 comment
Labels
area/docs Affects docs or metadata (e.g. README) hint/good first issue Someone new could handle this

Comments

@ecordell
Copy link
Contributor

It's mounted under spicedb-db-tls (which will need to be referenced in the datastore_uri in the secret), but this is not documented well.

@ecordell ecordell added area/docs Affects docs or metadata (e.g. README) hint/good first issue Someone new could handle this labels Mar 18, 2023
@ecordell ecordell changed the title Document tls mount path for datastoreTLSSecretName Document volume mount path for datastoreTLSSecretName Mar 18, 2023
@nico151999
Copy link

It took me a while to figure this out by myself. I had to do a deep dive until I found out that the operator does not automatically look for files named ca.crt, tls.crt and tls.key (i.e. keys with the same name in the secret specified for datastoreTLSSecretName). If I had seen this issue a bit earlier it would have saved me some time. Once I found this issue I just headed over to the cockroach documentation, added the necessary parameters pointing to the files in the /spicedb-db-tls directory and applied my changes. This worked like a charm then. So if there's anyone else finding this issue first before searching through the code I hope I can save them some time this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Affects docs or metadata (e.g. README) hint/good first issue Someone new could handle this
Projects
None yet
Development

No branches or pull requests

2 participants