kubernetes: fix conntrack-tools package name, missing dir, and tests

(cherry picked from commit ab1567e8121dfcdb4f7a395b39a3a345f41c7474)
This commit is contained in:
Alexandru Scvortov
2021-06-30 21:26:24 +00:00
committed by github-actions[bot]
parent beb05a45aa
commit 3ee32f0ea9
3 changed files with 10 additions and 2 deletions
@@ -189,6 +189,7 @@ in
# manually paste it in place. Just symlink.
# otherwise, create the target file, ready for users to insert the token
mkdir -p $(dirname ${certmgrAPITokenPath})
if [ -f "${cfsslAPITokenPath}" ]; then
ln -fs "${cfsslAPITokenPath}" "${certmgrAPITokenPath}"
else
@@ -59,7 +59,7 @@ in
description = "Kubernetes Proxy Service";
wantedBy = [ "kubernetes.target" ];
after = [ "kube-apiserver.service" ];
path = with pkgs; [ iptables conntrack_tools ];
path = with pkgs; [ iptables conntrack-tools ];
serviceConfig = {
Slice = "kubernetes.slice";
ExecStart = ''${top.package}/bin/kube-proxy \