From e0dc53542edf74f613d31f1fb8f2c43f778192bf Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Thu, 12 Aug 2021 14:38:18 +0200
Subject: [PATCH] Enable startupProbe for NC, remove initialDelaySeconds

Fixes: #914
---
 flux2/apps/nextcloud/release.yaml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/flux2/apps/nextcloud/release.yaml b/flux2/apps/nextcloud/release.yaml
index 97a58a3a7..905ec3946 100644
--- a/flux2/apps/nextcloud/release.yaml
+++ b/flux2/apps/nextcloud/release.yaml
@@ -78,11 +78,9 @@ spec:
       internalDatabase:
         enabled: false
 
-      livenessProbe:
-        initialDelaySeconds: 300
-        failureThreshold: 20
-      readinessProbe:
-        initialDelaySeconds: 300
+      startupProbe:
+        enabled: true
+        failureThreshold: 60
 
       resources:
         limits:
-- 
GitLab