Skip to content

Commit

Permalink
Support using self generated certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
duncaan committed Aug 22, 2024
1 parent ac4f5a6 commit 044fae4
Show file tree
Hide file tree
Showing 2 changed files with 6 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
4 changes: 4 additions & 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

Check failure on line 229 in charts/pulsar/values.yaml

View workflow job for this annotation

GitHub Actions / chart-testing lint

229:22 [comments] too few spaces before comment
# settings for generating certs for broker
broker:
enabled: false
Expand Down Expand Up @@ -1425,6 +1426,9 @@ pulsar_manager:
ui_password: "" # leave empty for random password
db_username: "pulsar"
db_password: "" # leave empty for random password
dbExistingSecret: ""
dbUsernameKey: "" # leave empty to use default key

Check failure on line 1430 in charts/pulsar/values.yaml

View workflow job for this annotation

GitHub Actions / chart-testing lint

1430:23 [comments] too few spaces before comment
dbPasswordKey: "" # leave empty to use default key

Check failure on line 1431 in charts/pulsar/values.yaml

View workflow job for this annotation

GitHub Actions / chart-testing lint

1431:23 [comments] too few spaces before comment

# These are jobs where job ttl configuration is used
# pulsar-helm-chart/charts/pulsar/templates/pulsar-cluster-initialize.yaml
Expand Down

0 comments on commit 044fae4

Please sign in to comment.