mirror of https://github.com/kubernetes/kops.git
fix file perms
This commit is contained in:
parent
1fa2ae8d9f
commit
f0476776b1
|
|
@ -206,6 +206,7 @@ func (b *KubeAPIServerBuilder) writeAuthenticationConfig(c *fi.ModelBuilderConte
|
||||||
Path: PathAuthnConfig,
|
Path: PathAuthnConfig,
|
||||||
Contents: fi.NewBytesResource(manifest),
|
Contents: fi.NewBytesResource(manifest),
|
||||||
Type: nodetasks.FileType_File,
|
Type: nodetasks.FileType_File,
|
||||||
|
Mode: fi.String("600"),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -227,6 +228,7 @@ func (b *KubeAPIServerBuilder) writeAuthenticationConfig(c *fi.ModelBuilderConte
|
||||||
Path: "/srv/kubernetes/heptio-authenticator-aws/cert.pem",
|
Path: "/srv/kubernetes/heptio-authenticator-aws/cert.pem",
|
||||||
Contents: fi.NewBytesResource(certificateData),
|
Contents: fi.NewBytesResource(certificateData),
|
||||||
Type: nodetasks.FileType_File,
|
Type: nodetasks.FileType_File,
|
||||||
|
Mode: fi.String("600"),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue