tabalt removed a comment on issue #25: URL: https://github.com/apache/pulsar-helm-chart/issues/25#issuecomment-649571662
The current script for init container like the following: ``` /pulsar/keytool/keytool.sh broker ${HOSTNAME}.pulsar-broker.pulsar.svc.cluster.local true; until bin/bookkeeper org.apache.zookeeper.ZooKeeperMain -server pulsar-zookeeper:2281 get /admin/clusters/pulsar; do echo "pulsar cluster pulsar isn't initialized yet ... check in 3 seconds ..." && sleep 3; done; ``` I think move the `keytool.sh` after `until` as the following can solve the problem: ``` until /pulsar/keytool/keytool.sh broker ${HOSTNAME}.pulsar-broker.pulsar.svc.cluster.local true && bin/bookkeeper org.apache.zookeeper.ZooKeeperMain -server pulsar-zookeeper:2281 get /admin/clusters/pulsar; do echo "pulsar cluster pulsar isn't initialized yet ... check in 3 seconds ..." && sleep 3; done; ``` But I don't know if there's a better way to fix it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org