From 09ce741b072374574ec47d7ebc147ec81b92e6aa Mon Sep 17 00:00:00 2001
From: Pierre Ozoux <pierre@ozoux.net>
Date: Thu, 10 Feb 2022 15:30:47 +0100
Subject: [PATCH] Fixes libre.

---
 libre | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libre b/libre
index 7237f3f..240f1e7 100755
--- a/libre
+++ b/libre
@@ -55,7 +55,7 @@ fi
 
 create_update_job_nc () {
   if [ "${APP}" = "nextcloud" ]; then
-    kubectl -n ${NS} scale --replicas=0 deployment/${APP}-web
+    kubectl -n ${NS} scale --replicas=0 deployment/${FQDN}-web
     kubectl -n $NS delete job update-nc
     libre apply ../../common/nextcloud/other-manifests/update-job.yml
   fi
-- 
GitLab