From 0c193ff1d1b0e0fb77789f1f08885c58aaaef436 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Mon, 8 Jul 2019 23:07:51 +0200 Subject: [PATCH] Add a readiness probe for the Funkwhale container --- charts/funkwhale/templates/deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/funkwhale/templates/deployment.yaml b/charts/funkwhale/templates/deployment.yaml index 595bf9c..f530a8e 100644 --- a/charts/funkwhale/templates/deployment.yaml +++ b/charts/funkwhale/templates/deployment.yaml @@ -44,6 +44,11 @@ spec: sed -e 's!0.0.0.0:5000!unix:/run/funkwhale/funkwhale.sock!' -i compose/django/server.sh compose/django/entrypoint.sh compose/django/server.sh fi + readinessProbe: + exec: + command: + - stat + - /run/funkwhale/funkwhale.sock envFrom: - configMapRef: name: {{ include "funkwhale.fullname" . }}