From 23e54301abc54e691cb34a601f516d2bd7440829 Mon Sep 17 00:00:00 2001 From: Quan Tian Date: Wed, 15 Apr 2020 22:03:42 +0800 Subject: [PATCH] Delete the wrong comment about CertDirectory of kubelet The default value of CertDirectory was changed to /var/lib/kubelet/pki. --- cmd/kubelet/app/options/options.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/kubelet/app/options/options.go b/cmd/kubelet/app/options/options.go index ade1e2811f2..6f200fb9971 100644 --- a/cmd/kubelet/app/options/options.go +++ b/cmd/kubelet/app/options/options.go @@ -85,9 +85,8 @@ type KubeletFlags struct { // Container-runtime-specific options. config.ContainerRuntimeOptions - // certDirectory is the directory where the TLS certs are located (by - // default /var/run/kubernetes). If tlsCertFile and tlsPrivateKeyFile - // are provided, this flag will be ignored. + // certDirectory is the directory where the TLS certs are located. + // If tlsCertFile and tlsPrivateKeyFile are provided, this flag will be ignored. CertDirectory string // cloudProvider is the provider for cloud services.