Skip to content
Merged
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: 4 additions & 0 deletions charts/pulsar/templates/tls-cert-internal-issuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ spec:
- server auth
- client auth
isCA: true
{{- if .Values.certs.internal_issuer.privateKey }}
privateKey:
{{- toYaml .Values.certs.internal_issuer.privateKey | nindent 4 }}
{{- end }}
issuerRef:
name: "{{ template "pulsar.fullname" . }}-{{ .Values.certs.internal_issuer.component }}"
# We can reference ClusterIssuers by changing the kind here.
Expand Down
7 changes: 7 additions & 0 deletions charts/pulsar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,13 @@ certs:
duration: 2160h
# 15d
renewBefore: 360h
# Private key settings for the self-signed CA certificate.
# Keep rotationPolicy at Never so the CA key survives renewals. Since
# cert-manager 1.18 the default is Always, which generates a new CA key
# on every renewal and invalidates all certificates issued by the old key
# until each of them has been re-issued.
privateKey:
rotationPolicy: Never
issuers:
# Used for certs.internal_issuer.type as selfsigning
selfsigning:
Expand Down
Loading