mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-01 09:22:24 +00:00
fix: comment about permission bits
Kubernetes-commit: fd17dcf3876458229ac15d426eb1bd58f8c52cb4
This commit is contained in:
parent
03568a1821
commit
71253f0b35
@ -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