From 71253f0b35fbf8f682c8928b14e72ffcc4eac5dd 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 Kubernetes-commit: fd17dcf3876458229ac15d426eb1bd58f8c52cb4 --- util/cert/io.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/cert/io.go b/util/cert/io.go index c3c5dca4..b4f6daf1 100644 --- a/util/cert/io.go +++ b/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 {