Skip to content

Commit

Permalink
Merge pull request #5492 from laozc/kubelet-systemd-perm
Browse files Browse the repository at this point in the history
Change systemd unit files perm to 644
  • Loading branch information
medyagh authored Oct 8, 2019
2 parents c5111ef + 4ab0834 commit da8500a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/minikube/bootstrapper/kubeadm/kubeadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,8 +754,8 @@ func NewKubeletService(cfg config.KubernetesConfig) ([]byte, error) {
func configFiles(cfg config.KubernetesConfig, kubeadm []byte, kubelet []byte, kubeletSvc []byte) []assets.CopyableFile {
fs := []assets.CopyableFile{
assets.NewMemoryAssetTarget(kubeadm, yamlConfigPath, "0640"),
assets.NewMemoryAssetTarget(kubelet, kubeletSystemdConfFile, "0640"),
assets.NewMemoryAssetTarget(kubeletSvc, kubeletServiceFile, "0640"),
assets.NewMemoryAssetTarget(kubelet, kubeletSystemdConfFile, "0644"),
assets.NewMemoryAssetTarget(kubeletSvc, kubeletServiceFile, "0644"),
}
// Copy the default CNI config (k8s.conf), so that kubelet can successfully
// start a Pod in the case a user hasn't manually installed any CNI plugin
Expand Down

0 comments on commit da8500a

Please sign in to comment.