enable kubelet client certificate rotation (#4081)

* enable kubelet client certificate rotation

* change to variable kubelet_rotate_certificates
This commit is contained in:
Sergey
2019-04-03 11:35:44 +03:00
committed by Kubernetes Prow Robot
parent a8dd69cf17
commit 740d8b0a26
3 changed files with 9 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ KUBELET_HOSTNAME="--hostname-override={{ kube_override_hostname }}"
{% endif %}
--enforce-node-allocatable={{ kubelet_enforce_node_allocatable }} \
--client-ca-file={{ kube_cert_dir }}/ca.crt \
{% if kubelet_rotate_certificates %}
--rotate-certificates \
{% endif %}
--pod-manifest-path={{ kube_manifest_dir }} \
{% if kube_version is version('v1.12.0', '<') %}
--cadvisor-port={{ kube_cadvisor_port }} \