[sysadmin-bin] Adapt cleanup hook to *.gnome.org



commit 1aa33203d2fd864ad2ab4a60b84c5214774030e5
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Wed Mar 23 15:06:38 2022 +0100

    Adapt cleanup hook to *.gnome.org

 certbot/cleanup-hook | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/certbot/cleanup-hook b/certbot/cleanup-hook
index 9a6104e..1265be2 100755
--- a/certbot/cleanup-hook
+++ b/certbot/cleanup-hook
@@ -40,10 +40,10 @@ def main():
 
     base_domain = ".".join(domain.split(".")[-2:])
 
-    if domain == "apps.openshift4.gnome.org":
+    if domain == "gnome.org":
         subprocess.run(
             ["oc", "-n", "openshift-ingress", "delete", "secret", "router-certs"],
-            check=True,
+            check=False,
         )
         time.sleep(3)
         subprocess.run(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]