nixos/kubernetes: Patch kube-proxy for iptables 1.6.2 compatibility

Closes #36739
This commit is contained in:
Sarah Brofeldt 2018-03-10 10:34:40 +01:00 committed by Charles Strahan
parent 4dd5948134
commit e8cbd44641
No known key found for this signature in database
GPG Key ID: BB47AB4B8489B5A5

View File

@ -36,6 +36,13 @@ stdenv.mkDerivation rec {
url = "https://github.com/kubernetes/kubernetes/commit/a990b04dc8a7d8408a71eee40db93621cf2b6d1b.patch";
sha256 = "0piqilc5c9frikl74hamkffawwg1mvdwfxqvjnmk6wdma43dbb7w";
})
(fetchpatch {
# https://github.com/kubernetes/kubernetes/pull/60978
# Fixes critical kube-proxy failure on iptables-restore >= 1.6.2 and
# non-critical failures on prior versions.
url = "https://github.com/kubernetes/kubernetes/commit/34ce573e9992ecdbc06dff1b4e3d0e9baa8353dd.patch";
sha256 = "1sd9qgc28zr6fkk0441f89bw8kq2kadys0qs7bgivy9cmcpw5x5p";
})
];
postPatch = ''