This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 914bccf Use pulsar.zookeeper.connect template in bookkeeper cluster
initialize command. (#707)
914bccf is described below
commit 914bccfbd5a0be7a272d5ad767b39c5cbcf840b5
Author: ptemarvelde <[email protected]>
AuthorDate: Fri Jul 10 15:42:51 2026 +0200
Use pulsar.zookeeper.connect template in bookkeeper cluster initialize
command. (#707)
Used pulsar.fullname appended with zookeeper name before which does not
account for TLS port numbers.
---
charts/pulsar/templates/bookkeeper-cluster-initialize.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml
b/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml
index db7f6cb..34137eb 100755
--- a/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml
+++ b/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml
@@ -114,7 +114,7 @@ spec:
echo "bookkeeper cluster already initialized";
else
{{- if and .Values.components.zookeeper (not (eq
.Values.metadataPrefix "")) }}
- bin/pulsar zookeeper-shell -server {{ template
"pulsar.fullname" . }}-{{ .Values.zookeeper.component }} create {{
.Values.metadataPrefix }} && echo 'created for pulsar cluster "{{ template
"pulsar.cluster.name" . }}"' &&
+ bin/pulsar zookeeper-shell -server {{ template
"pulsar.zookeeper.connect" . }} create {{ .Values.metadataPrefix }} && echo
'created for pulsar cluster "{{ template "pulsar.cluster.name" . }}"' &&
{{- end }}
bin/bookkeeper shell initnewcluster;
fi