summary refs log tree commit diff
path: root/nixos/modules/services/networking/flannel.nix
diff options
context:
space:
mode:
authorMarkus <john.subscriber@markus.institute>2019-03-12 14:58:01 +0000
committerRobin Gloster <mail@glob.in>2019-03-12 15:30:33 +0000
commit7e71cd829290b5a5521f7feef8c0c55d3eb087f0 (patch)
treec26665eb3d374ea2f408041d51a533de5051994c /nixos/modules/services/networking/flannel.nix
parentfdeb864cc8d9fdaf8054d5a4852d7ef40a6b2a61 (diff)
downloadnixpkgs-7e71cd829290b5a5521f7feef8c0c55d3eb087f0.tar
nixpkgs-7e71cd829290b5a5521f7feef8c0c55d3eb087f0.tar.gz
nixpkgs-7e71cd829290b5a5521f7feef8c0c55d3eb087f0.tar.bz2
nixpkgs-7e71cd829290b5a5521f7feef8c0c55d3eb087f0.tar.lz
nixpkgs-7e71cd829290b5a5521f7feef8c0c55d3eb087f0.tar.xz
nixpkgs-7e71cd829290b5a5521f7feef8c0c55d3eb087f0.tar.zst
nixpkgs-7e71cd829290b5a5521f7feef8c0c55d3eb087f0.zip
nixos/flannel: Add iptables package to service path
Diffstat (limited to 'nixos/modules/services/networking/flannel.nix')
-rw-r--r--nixos/modules/services/networking/flannel.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/flannel.nix b/nixos/modules/services/networking/flannel.nix
index ec702cdc6ff..c1f778ac139 100644
--- a/nixos/modules/services/networking/flannel.nix
+++ b/nixos/modules/services/networking/flannel.nix
@@ -161,6 +161,7 @@ in {
         FLANNELD_KUBECONFIG_FILE = cfg.kubeconfig;
         NODE_NAME = cfg.nodeName;
       };
+      path = [ pkgs.iptables ];
       preStart = ''
         mkdir -p /run/flannel
         touch /run/flannel/docker