Add protectKernelDefaults option (default true) to kubelet config file (#6611)

This commit is contained in:
Florian Ruynat
2020-09-03 16:41:41 +02:00
committed by GitHub
parent c1ba8e1b3a
commit f1566cb8c2
3 changed files with 19 additions and 0 deletions

View File

@@ -31,6 +31,9 @@ healthzPort: {{ kubelet_healthz_port }}
healthzBindAddress: {{ kubelet_healthz_bind_address }}
kubeletCgroups: {{ kubelet_kubelet_cgroups }}
clusterDomain: {{ dns_domain }}
{% if kubelet_protect_kernel_defaults|bool %}
protectKernelDefaults: true
{% endif %}
{% if kubelet_rotate_certificates|bool %}
rotateCertificates: true
{% endif %}