diff --git a/flake.lock b/flake.lock index 3e91ddf..561c13d 100644 --- a/flake.lock +++ b/flake.lock @@ -354,11 +354,11 @@ "poetry2nix": "poetry2nix" }, "locked": { - "lastModified": 1716598957, - "narHash": "sha256-GEpG1s/mI+KuyOASS+Trd8nKN/JnITjDBKTJVUZEw2w=", + "lastModified": 1717317124, + "narHash": "sha256-37HqhTGXy67vrIETWeuS9lfqCCCM0MKs/nH+2bSTZZs=", "owner": "farcaller", "repo": "nixhelm", - "rev": "fd331ebac52705fcecbd8a3c7e4e5250050ba5f8", + "rev": "3dbce8dc473f2dc6122d093e3bdefbeb0a49b270", "type": "github" }, "original": { diff --git a/kubenix-modules/base.nix b/kubenix-modules/base.nix index 018f126..9cab73f 100644 --- a/kubenix-modules/base.nix +++ b/kubenix-modules/base.nix @@ -57,6 +57,16 @@ }; }; }; + + immich = { + chart = nixhelm.chartsDerivations.${system}.immich.immich; + includeCRDs = true; + values = { + immich.persistence.library.existingClaim = "immich-test"; + redis.enabled = true; + postgresql.enabled = true; + }; + }; }; resources.nodes = @@ -69,5 +79,15 @@ }) machinesWithKubernetesLabels; }; + + lab.ingresses.immich-test = { + host = "immich.kun.is"; + entrypoint = "localsecure"; + + service = { + name = "immich-server"; + portName = "http"; + }; + }; }; } diff --git a/kubenix-modules/volumes.nix b/kubenix-modules/volumes.nix index 903d683..c167a89 100644 --- a/kubenix-modules/volumes.nix +++ b/kubenix-modules/volumes.nix @@ -25,6 +25,7 @@ bazarr.storage = "25Mi"; attic.storage = "15Gi"; attic-db.storage = "150Mi"; + immich-test.storage = "10Gi"; }; nfsVolumes = {