Skip to content

Commit

Permalink
Support using self generated certificates (#523)
Browse files Browse the repository at this point in the history
* Support using self generated certificates

* chore: fix linting
  • Loading branch information
duncaan authored Aug 23, 2024
1 parent ac4f5a6 commit 0031827
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/pulsar/templates/tls-certs-internal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
{{- if .Values.certs.internal_issuer.enabled }}

{{- if .Values.tls.proxy.enabled }}
{{- if .Values.tls.proxy.createCert }}
apiVersion: "{{ .Values.certs.internal_issuer.apiVersion }}"
kind: Certificate
metadata:
Expand Down Expand Up @@ -63,6 +64,7 @@ spec:
group: cert-manager.io
---
{{- end }}
{{- end }}

{{- if or .Values.tls.broker.enabled (or .Values.tls.bookie.enabled .Values.tls.zookeeper.enabled) }}
apiVersion: "{{ .Values.certs.internal_issuer.apiVersion }}"
Expand Down
1 change: 1 addition & 0 deletions charts/pulsar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ tls:
proxy:
enabled: false
cert_name: tls-proxy
createCert: true # set to false if you want to use an existing certificate
# settings for generating certs for broker
broker:
enabled: false
Expand Down

0 comments on commit 0031827

Please sign in to comment.