[sysadmin-bin] Wait 3 seconds before recreating router-certs secret



commit 2a8332308cc9e1baeee1c75a69e83b1dc4eb4c1b
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Mar 8 11:15:43 2022 +0100

    Wait 3 seconds before recreating router-certs secret

 certbot/cleanup-hook | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/certbot/cleanup-hook b/certbot/cleanup-hook
index 32daf1b..9a6104e 100755
--- a/certbot/cleanup-hook
+++ b/certbot/cleanup-hook
@@ -5,6 +5,7 @@ import shutil
 import subprocess
 import sys
 import tempfile
+import time
 
 import pygit2
 
@@ -44,6 +45,7 @@ def main():
             ["oc", "-n", "openshift-ingress", "delete", "secret", "router-certs"],
             check=True,
         )
+        time.sleep(3)
         subprocess.run(
             [
                 "oc",


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