kubernetes module: kubelet add git and ssh to path
This commit is contained in:
parent
88f5cfc126
commit
dd1f8b2693
@ -512,6 +512,7 @@ in {
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
requires = ["kubernetes-setup.service"];
|
requires = ["kubernetes-setup.service"];
|
||||||
after = [ "network-interfaces.target" "etcd.service" "docker.service" ];
|
after = [ "network-interfaces.target" "etcd.service" "docker.service" ];
|
||||||
|
path = [ pkgs.gitMinimal pkgs.openssh ];
|
||||||
script = ''
|
script = ''
|
||||||
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
|
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
|
||||||
exec ${cfg.package}/bin/kubelet \
|
exec ${cfg.package}/bin/kubelet \
|
||||||
|
Loading…
Reference in New Issue
Block a user