mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-15 22:34:21 +03:00
Add RotateCertificates to kubelet config if kubelet_rotate_certificates is set. (#5152)
Signed-off-by: Robin Elfrink <robin.elfrink@eu.equinix.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
8031c6c1e7
commit
faaff8bd72
@@ -29,6 +29,9 @@ address: {{ kubelet_bind_address }}
|
|||||||
readOnlyPort: {{ kube_read_only_port }}
|
readOnlyPort: {{ kube_read_only_port }}
|
||||||
kubeletCgroups: {{ kubelet_kubelet_cgroups }}
|
kubeletCgroups: {{ kubelet_kubelet_cgroups }}
|
||||||
clusterDomain: {{ dns_domain }}
|
clusterDomain: {{ dns_domain }}
|
||||||
|
{% if kubelet_rotate_certificates|bool %}
|
||||||
|
rotateCertificates: true
|
||||||
|
{% endif %}
|
||||||
{# DNS settings for kubelet #}
|
{# DNS settings for kubelet #}
|
||||||
{% if enable_nodelocaldns %}
|
{% if enable_nodelocaldns %}
|
||||||
{% set kubelet_cluster_dns = [nodelocaldns_ip] %}
|
{% set kubelet_cluster_dns = [nodelocaldns_ip] %}
|
||||||
|
|||||||
Reference in New Issue
Block a user