From fd17dcf3876458229ac15d426eb1bd58f8c52cb4 Mon Sep 17 00:00:00 2001 From: Khachatur Ashotyan Date: Fri, 3 Feb 2023 13:40:33 +0400 Subject: [PATCH] fix: comment about permission bits --- staging/src/k8s.io/client-go/util/cert/io.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/client-go/util/cert/io.go b/staging/src/k8s.io/client-go/util/cert/io.go index c3c5dca41e1..b4f6daf1854 100644 --- a/staging/src/k8s.io/client-go/util/cert/io.go +++ b/staging/src/k8s.io/client-go/util/cert/io.go @@ -58,7 +58,7 @@ func canReadFile(path string) bool { } // WriteCert writes the pem-encoded certificate data to certPath. -// The certificate file will be created with file mode 000. +// The certificate file will be created with file mode 0600. // If the certificate file already exists, it will be overwritten. // The parent directory of the certPath will be created as needed with file mode 0700. func WriteCert(certPath string, data []byte) error {