Fixed concatenate str & int in auto_renew_certificates_systemd_calendar var (#8979)
This commit is contained in:
parent
bf477c24d3
commit
6bf3306401
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ event_ttl_duration: "1h0m0s"
|
||||||
## Automatically renew K8S control plane certificates on first Monday of each month
|
## Automatically renew K8S control plane certificates on first Monday of each month
|
||||||
auto_renew_certificates: false
|
auto_renew_certificates: false
|
||||||
# First Monday of each month
|
# First Monday of each month
|
||||||
auto_renew_certificates_systemd_calendar: "Mon *-*-1,2,3,4,5,6,7 03:{{ groups['kube_control_plane'].index(inventory_hostname) }}0:00"
|
auto_renew_certificates_systemd_calendar: "{{ 'Mon *-*-1,2,3,4,5,6,7 03:' ~
|
||||||
|
groups['kube_control_plane'].index(inventory_hostname) ~ '0:00' }}"
|
||||||
# kubeadm renews all the certificates during control plane upgrade.
|
# kubeadm renews all the certificates during control plane upgrade.
|
||||||
# If we have requirement like without renewing certs upgrade the cluster,
|
# If we have requirement like without renewing certs upgrade the cluster,
|
||||||
# we can opt out from the default behavior by setting kubeadm_upgrade_auto_cert_renewal to false
|
# we can opt out from the default behavior by setting kubeadm_upgrade_auto_cert_renewal to false
|
||||||
|
|
Loading…
Reference in a new issue