From 32dd181a84230369f16b92bf984844db1c5d5ebf Mon Sep 17 00:00:00 2001
From: "egon w. stemle" <egon.stemle@eurac.edu>
Date: Mon, 14 Oct 2019 14:51:54 +0200
Subject: [PATCH] fixup! fixup! Fix cron subprocess terminates silently

---
 kubernetes/dspace-deployment.yaml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/kubernetes/dspace-deployment.yaml b/kubernetes/dspace-deployment.yaml
index e4a2a46..ed4f605 100644
--- a/kubernetes/dspace-deployment.yaml
+++ b/kubernetes/dspace-deployment.yaml
@@ -69,16 +69,11 @@ spec:
         - mountPath: /opt/lindat-dspace/installation/assetstore
           name: dspace-assetstore
         livenessProbe:
-          httpGet:
-            host: clarin-dev.eurac.edu
-            path: /repository/xmlui/
-            port: 443
-            scheme: HTTPS
           exec:
             command:
               - /bin/sh
               - -c
-              - reply=$(curl -s -o /dev/null -w %{http_code} https://clarin-dev.eurac.edu/repository/xmlui/); if [ "$reply" -lt 200 -o "$reply" -ge 400 ]; then exit 1; fi; ps aux | grep -v grep | grep -E "sleep|t    imeout" && exit 0 || exit 1;
+              - reply=$(curl -s -o /dev/null -w %{http_code} https://clarin-dev.eurac.edu/repository/xmlui/); if [ "$reply" -lt 200 -o "$reply" -ge 400 ]; then exit 1; fi; ps aux | grep -v grep | grep -E "sleep|timeout" && exit 0 || exit 1;
           initialDelaySeconds: 900
           periodSeconds: 15
           timeoutSeconds: 3
-- 
GitLab