1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-15 17:50:52 +00:00

fixup! Add flake

This commit is contained in:
Antonio Gurgel 2023-11-14 22:15:40 -08:00
parent 55d313dc6d
commit a14936684e

View file

@ -10,7 +10,7 @@
# Charts from Git
nfs-helm = {
url = "github:kubernetes-sigs/nfs-subdir-external-provisioner";
url = "github:kubernetes-sigs/nfs-subdir-external-provisioner/8af604bdc7e8076b8482b1652b7c139abb1659a9";
flake = false; # DRY this
};
longhorn = {
@ -32,6 +32,7 @@
nixhelm,
nfs-helm,
longhorn,
app-template,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
@ -42,7 +43,7 @@
packages = {
longhorn = pkgs.stdenv.mkDerivation {
name = "longhorn";
phases = [ "installPhase" ];
phases = [ "installPhase" ]; # TODO: What does this do and why?
installPhase = ''
cp ${longhorn}/deploy/longhorn.yaml $out
'';
@ -54,7 +55,7 @@
namespace = "kube-system";
values = {
fullnameOverride = "nfs-subdir";
image.tag = "v4.0.2";
image.tag = "v4.0.17";
nfs = {
path = "/nfs/svc";
server = "losangeles.eureka.lan";