Skip to content

Commit fba5a82

Browse files
SergeyKanzhelevGCB Sync Bot
authored andcommitted
convert TODO into the comment in windows/k8s-node-setup.psm1
Change-Id: Icc19897319fc14698ef4825cc7c7dab6d851330c
1 parent b27c6a1 commit fba5a82

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gke/cluster/gce/windows/k8s-node-setup.psm1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,10 @@ function Write_PkiData {
652652
# This command writes out a PEM certificate file, analogous to "base64
653653
# --decode" on Linux. See https://stackoverflow.com/a/51914136/1230197.
654654
[IO.File]::WriteAllBytes($File, [Convert]::FromBase64String($Data))
655-
Log_Todo ("need to set permissions correctly on ${File}; not sure what the " +
656-
"Windows equivalent of 'umask 077' is")
655+
656+
# The permissions for ${File}; may need to be updated for Windows
657+
# to match Linux's 'umask 077'.
658+
#
657659
# Linux: owned by root, rw by user only.
658660
# -rw------- 1 root root 1.2K Oct 12 00:56 ca-certificates.crt
659661
# -rw------- 1 root root 1.3K Oct 12 00:56 kubelet.crt

0 commit comments

Comments
 (0)