diff --git a/charts/pulsar/templates/bookkeeper/bookkeeper-cluster-initialize.yaml b/charts/pulsar/templates/bookkeeper/bookkeeper-cluster-initialize.yaml index ceec5c180..2f3cbfd5f 100644 --- a/charts/pulsar/templates/bookkeeper/bookkeeper-cluster-initialize.yaml +++ b/charts/pulsar/templates/bookkeeper/bookkeeper-cluster-initialize.yaml @@ -56,7 +56,7 @@ spec: {{- include "pulsar.toolset.zookeeper.tls.settings" . | nindent 12 }} {{ if and .Values.tls.enabled .Values.tls.zookeeper.enabled }} export "$(cat conf/pulsar_env.sh | xargs)"; - export "OPTS=${EXTRA_OPTS}"; + export OPTS="${PULSAR_EXTRA_OPTS} ${EXTRA_OPTS}"; env; {{- end }} bin/pulsar-metadata-tool cleanup