From f3ef8ee3217ff083020fc47322b2f9be0af72ed6 Mon Sep 17 00:00:00 2001 From: Tan Guofu <87045830+tanguofu@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:37:51 +0800 Subject: [PATCH] fix #1506: update k8s-certs-renew.timer to run each monday of every week --- pkg/certs/templates/certs_renew_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/certs/templates/certs_renew_service.go b/pkg/certs/templates/certs_renew_service.go index 3dde80cb4..b29aa39f0 100644 --- a/pkg/certs/templates/certs_renew_service.go +++ b/pkg/certs/templates/certs_renew_service.go @@ -36,7 +36,7 @@ ExecStart=/usr/local/bin/kube-scripts/k8s-certs-renew.sh dedent.Dedent(`[Unit] Description=Timer to renew K8S control plane certificates [Timer] -OnCalendar=Mon *-*-1,2,3,4,5,6,7 03:00:00 +OnCalendar=Mon *-*-* 03:00:00 Unit=k8s-certs-renew.service [Install] WantedBy=multi-user.target