You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bookkeeper-cluster-initialize does not use TLS port when TLS is enabled #706
Describe the bug
Bookkeeper-cluster-initialize does not use TLS port when TLS is enabled.
To Reproduce
Steps to reproduce the behavior:
Deploy the Pulsar Helm chart with TLS enabled (e.g., tls.zookeeper.enabled=true).
Wait for the ZooKeeper cluster to become ready.
Check the logs or status of the bookkeeper-cluster-initialize job.
See error: The initialization job fails to connect to ZooKeeper because it is attempting to use the standard non-TLS port instead of the secure TLS port.
KeeperErrorCode = ConnectionLoss for <metadataPrefix>
Expected behavior
The bookkeeper-cluster-initialize job should automatically detect that TLS is enabled and connect to ZooKeeper using the correct secure TLS port.
Additional context
The root cause is in charts/pulsar/templates/bookkeeper-cluster-initialize.yaml at line 117. It does not use the correct server connection string that accounts for TLS.
It should be updated to use the pulsar.zookeeper.connect template defined in _zookeeper.tpl at line 37, which properly handles the logic for appending the TLS port when it is enabled.
Activity