Commit Graph

17 Commits

Author SHA1 Message Date
Florian Klink
02e058ed09
Merge pull request #106423 from euank/k3s-update-1.19.4
k3s: 1.19.2+k3s1 -> 1.19.4+k3s2
2020-12-09 21:14:32 +01:00
Euan Kemp
6eb941d8c4 k3s: propagate runtime dependencies of the k3s binary
Fixes #101734

Prior to this change, the k3s binary included a tarball containing
binaries like 'kubectl', but didn't keep a runtime reference to those
runtime dependencies in plaintext (since they were gzipped inside the
single combined k3s binary).

In order for nix's automatic runtime dependency detection to work, we
need to have a reference to them somewhere in $out.
propagatedBuildInputs seems to do the right thing for us here.
Running `nix-store -q --tree /nix/store/path/to/k3s` produces a
different output after this change which includes the `libseccomp`
reference I expect.
2020-12-09 00:08:15 -08:00
Euan Kemp
5ca87dcf73 k3s: 1.19.2+k3s1 -> 1.19.4+k3s2
This includes a fix for CVE-2020-15257, as described in the upstream
release notes: https://github.com/k3s-io/k3s/releases/tag/v1.19.4%2Bk3s2
2020-12-08 23:56:50 -08:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
freezeboy
e3ca548320 k3s: add version field 2020-11-07 12:15:10 -08:00
Euan Kemp
7661b55417 k3s: add modprobe to k3s's PATH
Otherwise we get warnings like 'level=warning msg="failed to start
br_netfilter module"' in k3s's logs.

Adding modprobe to k3s's PATH fixes the warning at least. I'm not
certain if it fixes any real issue or not.
2020-10-26 01:40:36 -07:00
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Christoph Herzog
549131de56 k3s: 1.18.8+k3s1 -> 1.19.2-k3s1 2020-10-10 16:17:22 +02:00
Euan Kemp
6781a5f784 k3s: 1.18.2 -> 1.18.8 2020-09-07 00:42:00 -07:00
Euan Kemp
a432801ff3 k3s: 1.17.3 -> 1.18.2
Fairly straightforward update. I properly git format-patch'd the
patches too.
2020-05-31 19:13:09 -07:00
Euan Kemp
e61dc85117 k3s: fix build for aarch64
The upstream project already builds and releases for aarch64. This makes
the couple small tweaks that I found necessary for k3s to cross-compile
for aarch64.

I also ran it through nixpkgs-fmt.
2020-05-09 08:37:06 +02:00
zowoq
b5dc07a4b4 treewide: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Euan Kemp
617fa430d7 k3s: update maintainers, per pr comment 2020-04-06 21:45:59 -07:00
Euan Kemp
83f827cba7 k3s: remove extra buildInputs
In the intial version of this package, I missed a few inputs that
weren't needed including a debug hook.
2020-04-06 21:45:59 -07:00
Michael Bishop
f03c088a36
k3s: fix https://hydra.nixos.org/build/116132269 2020-04-05 15:45:46 -03:00
Euan Kemp
e370711ad0 k3s: init at 1.17.3+k3s1
This packages k3s as a single self-contained binary (as upstream k3s
does), but without having to download any impure already-built binaries.

The upstream packaging scripts are used. Due to k3s's rather complicated
packaging arrangement, this ends up being a rather long derivation.
2020-04-05 15:34:18 +02:00