This is an automated email from the ASF dual-hosted git repository.

nicknezis pushed a commit to branch master-billy
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit b9efc277f2c6886503c47ccf9d86197d103272e1
Author: Billy Romansky <[email protected]>
AuthorDate: Sat Mar 19 19:13:56 2022 -0400

        modified:   deploy/kubernetes/helm/templates/bookie.yaml
---
 deploy/kubernetes/helm/templates/bookie.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deploy/kubernetes/helm/templates/bookie.yaml 
b/deploy/kubernetes/helm/templates/bookie.yaml
index a64103c..d953024 100644
--- a/deploy/kubernetes/helm/templates/bookie.yaml
+++ b/deploy/kubernetes/helm/templates/bookie.yaml
@@ -20,7 +20,6 @@
 ## A reference of 
https://github.com/apache/incubator-pulsar/blob/master/kubernetes/google-container-engine/bookie.yaml
 
 
-{{- if or .Release.IsInstall .Values.initialize}}
 
 {{- $platform := .Values.platform }}
 {{- $bookieReplicas := .Values.bookieReplicas }}
@@ -117,6 +116,7 @@ spec:
                 topologyKey: "kubernetes.io/hostname"
       terminationGracePeriodSeconds: 0
 {{- end }}
+{{- if or .Release.IsInstall .Values.initialize}}
       initContainers:
         # Wait until the zookeeper pods are up and running
         - name: bookie-init-container
@@ -134,6 +134,7 @@ spec:
                 echo 'Zookeeper {{ .Release.Name }}-zookeeper:{{ 
.Values.zookeeper.clientPort }} not ready';
                 sleep 4;
               done
+{{- end }}
 {{- if eq .Values.platform "minikube" }}
         # The first time, initialize BK to wipe data for minikube
         - name: bookie-format
@@ -240,4 +241,3 @@ spec:
   selector:
     app: {{ .Release.Name }}-bookkeeper
     component: {{ .Release.Name }}-bookie
-{{- end }}

Reply via email to