From 58cd43fe8b11f04682ed2111293f6bf9a2fcc899 Mon Sep 17 00:00:00 2001 From: Michael Marshall Date: Tue, 18 Oct 2022 08:46:07 -0700 Subject: [PATCH] Remove '|| yes' in bk cluster init script (#305) --- 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 5e54b184..24f455ff 100644 --- a/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml +++ b/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml @@ -70,7 +70,7 @@ spec: echo "bookkeeper cluster already initialized"; else {{- if not (eq .Values.metadataPrefix "") }} - bin/bookkeeper org.apache.zookeeper.ZooKeeperMain -server {{ template "pulsar.fullname" . }}-{{ .Values.zookeeper.component }} create {{ .Values.metadataPrefix }} 'created for pulsar cluster "{{ template "pulsar.cluster.name" . }}"' || yes && + bin/bookkeeper org.apache.zookeeper.ZooKeeperMain -server {{ template "pulsar.fullname" . }}-{{ .Values.zookeeper.component }} create {{ .Values.metadataPrefix }} 'created for pulsar cluster "{{ template "pulsar.cluster.name" . }}"' && {{- end }} bin/bookkeeper shell initnewcluster; fi