From e5ae61b1d0c49beaa51cef44f651bea45ff03b1f Mon Sep 17 00:00:00 2001 From: Simon Rondelez Date: Tue, 8 Dec 2020 11:11:23 +0100 Subject: [PATCH] Add cronjob to renew certificate per skyscrapers/engineering#435 --- teleport-server/templates/cloud-init.yaml.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teleport-server/templates/cloud-init.yaml.tpl b/teleport-server/templates/cloud-init.yaml.tpl index e68c3b9..619fc02 100644 --- a/teleport-server/templates/cloud-init.yaml.tpl +++ b/teleport-server/templates/cloud-init.yaml.tpl @@ -185,3 +185,6 @@ write_files: & stop path: /etc/rsyslog.d/teleport.conf +- owner: root:root + content: "0 6 * * 1 root /usr/bin/certbot renew >/dev/null 2>&1\n" + path: /etc/cron.d/certbot