This is an automated email from the ASF dual-hosted git repository. nicknezis pushed a commit to branch helm-bookkeeper-fix in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
commit 39c64e3d0862602793c4eda606fbd7e41152807f Author: Billy Romansky <[email protected]> AuthorDate: Sat Mar 19 19:13:55 2022 -0400 fixed placing of edit --- deploy/kubernetes/helm/templates/bookie.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/kubernetes/helm/templates/bookie.yaml b/deploy/kubernetes/helm/templates/bookie.yaml index bf3ac94..9e42f8b 100644 --- a/deploy/kubernetes/helm/templates/bookie.yaml +++ b/deploy/kubernetes/helm/templates/bookie.yaml @@ -29,7 +29,6 @@ {{- $bookieStorageCapacity := .Values.bookieStorageCapacity }} {{- $bookieStorageHostPath := .Values.bookieStorageHostPath }} -{{- if or .Release.IsInstall .Values.initialize}} apiVersion: v1 kind: ConfigMap metadata: @@ -115,6 +114,8 @@ spec: topologyKey: "kubernetes.io/hostname" {{- end }} terminationGracePeriodSeconds: 0 + +{{- if or .Release.IsInstall .Values.initialize}} initContainers: # Wait until the zookeeper pods are up and running - name: bookie-init-container @@ -132,6 +133,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 @@ -238,5 +240,3 @@ spec: selector: app: {{ .Release.Name }}-bookkeeper component: {{ .Release.Name }}-bookie - -{{- end }}
