about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/k3s/default.nix
diff options
context:
space:
mode:
authorEuan Kemp <euank@euank.com>2023-05-20 15:55:31 +0900
committerEuan Kemp <euank@euank.com>2023-05-20 16:24:27 +0900
commitc71ef26ecc9e4353589b4987d27d7c60e3b94755 (patch)
tree5c6670d9b23cfd7425483fdc9a8387601bcc4a12 /pkgs/applications/networking/cluster/k3s/default.nix
parent457f56813d21053aa3a58a6a6b5d6dcb3b019e6c (diff)
downloadnixlib-c71ef26ecc9e4353589b4987d27d7c60e3b94755.tar
nixlib-c71ef26ecc9e4353589b4987d27d7c60e3b94755.tar.gz
nixlib-c71ef26ecc9e4353589b4987d27d7c60e3b94755.tar.bz2
nixlib-c71ef26ecc9e4353589b4987d27d7c60e3b94755.tar.lz
nixlib-c71ef26ecc9e4353589b4987d27d7c60e3b94755.tar.xz
nixlib-c71ef26ecc9e4353589b4987d27d7c60e3b94755.tar.zst
nixlib-c71ef26ecc9e4353589b4987d27d7c60e3b94755.zip
k3s: init 1.27.1+k3s1
On unstable, we're now tracking

| version | EOL |
|---------|-----|
| 1.24    | 07/2023 |
| 1.25    | 10/2023 |
| 1.26    | 02/2024 |
| 1.27    | 06/2024 |

This commit adds 1.27 using the 1_26 builder introduced in the last
commit.

Notably, this commit also updates the 'update.sh' script to work for the
new setup I have here.
Diffstat (limited to 'pkgs/applications/networking/cluster/k3s/default.nix')
-rw-r--r--pkgs/applications/networking/cluster/k3s/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/k3s/default.nix b/pkgs/applications/networking/cluster/k3s/default.nix
index 52beacf7e6c1..5a6b68eb5a9a 100644
--- a/pkgs/applications/networking/cluster/k3s/default.nix
+++ b/pkgs/applications/networking/cluster/k3s/default.nix
@@ -18,6 +18,10 @@ in
     containerdVersion = "1.6.19-k3s1";
     containerdSha256 = "12dwqh77wplg30kdi73d90qni23agw2cwxjd2p5lchq86mpmmwwr";
     criCtlVersion = "1.26.0-rc.0-k3s1";
-    updateScript = ./1_26/update-script.sh;
+  };
+
+  # 1_27 can be built with the same builder as 1_26
+  k3s_1_27 = (callPackage k3s_1_26_builder { }) (import ./1_27/versions.nix) // {
+    updateScript = ./1_27/update-script.sh;
   };
 }