Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cockroachdb/templates/certificate.client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ spec:
{{- if .Values.tls.certs.useCertManagerV1CRDs }}
privateKey:
algorithm: RSA
size: 2048
size: {{ .Values.tls.certs.certDetails.keySize }}
{{- else }}
keySize: 2048
keySize: {{ .Values.tls.certs.certDetails.keySize }}
keyAlgorithm: rsa
{{- end }}
commonName: root
Expand Down
4 changes: 2 additions & 2 deletions cockroachdb/templates/certificate.node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ spec:
{{- if .Values.tls.certs.useCertManagerV1CRDs }}
privateKey:
algorithm: RSA
size: 2048
size: {{ .Values.tls.certs.certDetails.keySize }}
{{- else }}
keySize: 2048
keySize: {{ .Values.tls.certs.certDetails.keySize }}
keyAlgorithm: rsa
{{- end }}
commonName: node
Expand Down
4 changes: 4 additions & 0 deletions cockroachdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,10 @@ tls:
# Enable if the secret is a dedicated TLS.
# TLS secrets are created by cert-mananger, for example.
tlsSecret: false
# Fine Grain Cert details
certDetails:
# Certificate Key Size
keySize: 2048
# Enable if the you want cockroach db to create its own certificates
selfSigner:
# If set, the cockroach db will generate its own certificates
Expand Down