From 582b0d81b89bbc2794115fb48a72bdea8cf087e6 Mon Sep 17 00:00:00 2001 From: Jason Gilfoil Date: Thu, 29 Feb 2024 19:25:27 +0000 Subject: [PATCH] adjust liveness probe sytanx needed spec in there apparently. --- kubernetes/apps/media/prowlarr/app/helmrelease.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/kubernetes/apps/media/prowlarr/app/helmrelease.yaml b/kubernetes/apps/media/prowlarr/app/helmrelease.yaml index 7799decd..a6d37057 100644 --- a/kubernetes/apps/media/prowlarr/app/helmrelease.yaml +++ b/kubernetes/apps/media/prowlarr/app/helmrelease.yaml @@ -54,11 +54,12 @@ spec: liveness: &probes enabled: true custom: true - exec: - command: - - sh - - -c - - "if [ \"$(wget -q -O- http://localhost/ping | jq -r '.status')\" = 'OK' ]; then exit 0; else exit 1; fi" + spec: + exec: + command: + - sh + - -c + - "if [ \"$(wget -q -O- http://localhost/ping | jq -r '.status')\" = 'OK' ]; then exit 0; else exit 1; fi" initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 1