cockroachdb / cockroachdb/cockroach-operator

tls.crt and tls.key shouldn't be hardcoded for nodeTLSSecret

Open
#295 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
318
Forks
104
Avg merge
1d 6h
Merged PRs (30d)
1

Description

According to @keith-mcclellan, the API currently requires the filenames `tls.crt` and `tls.key`.

```
nodeTLSSecret:
description: '(Optional) The secret with certificates and a private
key for the TLS endpoint on the database port. The standard naming
of files is expected (tls.key, tls.crt, ca.crt) Default: ""'
type: string
```

When creating and signing certs with `cockroach cert create-node`, we have to manually rename the generated `node.crt` and `node.key` to those filenames in order for authentication to work. This is a less-than-ideal user experience.

`nodeTLSSecret` should be able to accept the `node.crt` and `node.key` generated by Cockroach.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.