When starting a Minikube cluster, the keepstores should be able to reuse
authorWard Vandewege <ward@curii.com>
Mon, 12 Jul 2021 13:58:54 +0000 (09:58 -0400)
committerWard Vandewege <ward@curii.com>
Mon, 12 Jul 2021 13:58:54 +0000 (09:58 -0400)
an existing persistent volume (i.e. not error out if the /keepdata
directory already exists).

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

charts/arvados/templates/keep-store-deployment.yaml

index f7fa8d1d9a3255c98f51bf3bc52c445635c0ff4e..b028bb81286834f88fa201fedce55310cdfa8b2f 100644 (file)
@@ -33,7 +33,7 @@ spec:
           command:
             - "sh"
             - "-c"
-            - "mkdir /keepdata && /usr/local/bin/bootstrap.sh keepstore={{ .Values.arvados.versions.distribution.keepStore }} && GOGC=10 keepstore"
+            - "mkdir /keepdata; ls /keepdata && /usr/local/bin/bootstrap.sh keepstore={{ .Values.arvados.versions.distribution.keepStore }} && GOGC=10 keepstore"
           volumeMounts:
             - name: etc-configmap
               mountPath: /etc/arvados/config.yml