Merge pull request #11058 from offlinehacker/nixos/kubernetes1/git

kubernetes module: kubelet add git and ssh to path
This commit is contained in:
Jaka Hudoklin 2015-11-17 17:14:44 +01:00
commit dfd1f14ca5

View File

@ -512,6 +512,7 @@ in {
wantedBy = [ "multi-user.target" ];
requires = ["kubernetes-setup.service"];
after = [ "network-interfaces.target" "etcd.service" "docker.service" ];
path = [ pkgs.gitMinimal pkgs.openssh ];
script = ''
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
exec ${cfg.package}/bin/kubelet \