From 3c776b6897b05120412611491330d769028ab1f5 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Mon, 6 Feb 2023 19:43:51 +0200 Subject: [PATCH] different startup probe --- charts/nextcloud/1.6.17/templates/deployment.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/nextcloud/1.6.17/templates/deployment.yaml b/charts/nextcloud/1.6.17/templates/deployment.yaml index ee62904299..4a91937945 100644 --- a/charts/nextcloud/1.6.17/templates/deployment.yaml +++ b/charts/nextcloud/1.6.17/templates/deployment.yaml @@ -79,12 +79,12 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} timeoutSeconds: 5 failureThreshold: 5 startupProbe: - httpGet: - path: /status.php - port: http - httpHeaders: - - name: Host - value: localhost + exec: + command: + - /bin/sh + - -c + - | + command -v ffmpeg /dev/null 2>&1 || exit 1 initialDelaySeconds: 60 periodSeconds: 10 timeoutSeconds: 5