mirror of https://github.com/kubernetes/kops.git
Fixes reading /root/.docker/config.json on debian
Debian and probably others apparently don't automatically default to using the root account if it's not specified.
This commit is contained in:
parent
74d0e211f4
commit
e845e240ef
|
@ -180,6 +180,7 @@ func (b *KubeletBuilder) buildSystemdService() *nodetasks.Service {
|
|||
manifest.Set("Service", "RestartSec", "2s")
|
||||
manifest.Set("Service", "StartLimitInterval", "0")
|
||||
manifest.Set("Service", "KillMode", "process")
|
||||
manifest.Set("Service", "User", "root")
|
||||
manifestString := manifest.Render()
|
||||
|
||||
glog.V(8).Infof("Built service manifest %q\n%s", "kubelet", manifestString)
|
||||
|
|
Loading…
Reference in New Issue