You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2022/03/19 23:24:42 UTC

[incubator-heron] 07/10: Removed bookie format

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 baa18e4ccde4728bf807aaa957847c124c40b7e3
Author: Billy Romansky <wr...@protonmail.com>
AuthorDate: Sat Mar 19 19:13:56 2022 -0400

    Removed bookie format
---
 deploy/kubernetes/helm/templates/bookie.yaml | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/deploy/kubernetes/helm/templates/bookie.yaml b/deploy/kubernetes/helm/templates/bookie.yaml
index d953024..a5de6a3 100644
--- a/deploy/kubernetes/helm/templates/bookie.yaml
+++ b/deploy/kubernetes/helm/templates/bookie.yaml
@@ -135,21 +135,6 @@ spec:
                 sleep 4;
               done
 {{- end }}
-{{- if eq .Values.platform "minikube" }}
-        # The first time, initialize BK to wipe data for minikube
-        - name: bookie-format
-          image: {{ .Values.bookkeeper.image }}
-          args: ["/opt/bookkeeper/bin/bookkeeper", "shell", "bookieformat", "-nonInteractive", "-force"]
-          command: [ "/bin/bash", "/opt/bookkeeper/scripts/entrypoint.sh" ]
-          envFrom:
-            - configMapRef:
-                name: {{ .Release.Name }}-bookie-config
-          volumeMounts:
-            - name: journal-disk
-              mountPath: /bookkeeper/data/journal
-            - name: ledgers-disk
-              mountPath: /bookkeeper/data/ledgers
-{{- end }}
       containers:
         - name: bookie
           image: {{ .Values.bookkeeper.image }}