diff --git a/roles/kubernetes/control-plane/templates/k8s-certs-renew.sh.j2 b/roles/kubernetes/control-plane/templates/k8s-certs-renew.sh.j2 index 01408689b..6f2b03eff 100644 --- a/roles/kubernetes/control-plane/templates/k8s-certs-renew.sh.j2 +++ b/roles/kubernetes/control-plane/templates/k8s-certs-renew.sh.j2 @@ -5,7 +5,6 @@ echo "## Check Expiration before renewal ##" {{ bin_dir }}/kubeadm certs check-expiration days_buffer=7 # set a time margin, because we should not renew at the last moment -calendar={{ auto_renew_certificates_systemd_calendar }} next_time=$(systemctl show k8s-certs-renew.timer -p NextElapseUSecRealtime --value) if [ "${next_time}" == "" ]; then