mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
fix: comment about permission bits
This commit is contained in:
parent
5f81c3005f
commit
fd17dcf387
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user