From 4bd21a4abb4f8df4e541e192edbc8a60c29cb157 Mon Sep 17 00:00:00 2001
From: Pierre Ozoux <pierre@ozoux.net>
Date: Mon, 16 May 2022 16:16:04 +0000
Subject: [PATCH] Keeps exec probe.

This is to make sure nginx does cache results from a well started php process.
---
 nextcloud/manifests/app.yml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/nextcloud/manifests/app.yml b/nextcloud/manifests/app.yml
index e5f66c6..69af2ff 100644
--- a/nextcloud/manifests/app.yml
+++ b/nextcloud/manifests/app.yml
@@ -182,12 +182,9 @@ spec:
             - name: Host
               value: localhost
         readinessProbe:
-          httpGet:
-            path: /heartbeat
-            port: 80
-            httpHeaders:
-            - name: Host
-              value: localhost
+          exec:
+            command:
+            - /php-fpm-healthcheck
         ports:
         - containerPort: 9000
           name: api
-- 
GitLab