diff --git a/charts/pulsar/templates/tls-certs-internal.yaml b/charts/pulsar/templates/tls-certs-internal.yaml index 1fc4aed8..b14ce157 100644 --- a/charts/pulsar/templates/tls-certs-internal.yaml +++ b/charts/pulsar/templates/tls-certs-internal.yaml @@ -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: @@ -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 }}" diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml index 45c332c7..ec9bdbc5 100755 --- a/charts/pulsar/values.yaml +++ b/charts/pulsar/values.yaml @@ -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