From 745c52dfbb3e4aa26c6299489fc7d0b1537e0b47 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Mon, 26 May 2025 21:38:27 +0200 Subject: [PATCH] Move atuin off longhorn --- modules/atuin.nix | 12 ++++++------ modules/bootstrap-default.nix | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/atuin.nix b/modules/atuin.nix index 9552e8f..685ae56 100644 --- a/modules/atuin.nix +++ b/modules/atuin.nix @@ -30,7 +30,12 @@ metadata.labels.app = "atuin"; spec = { - volumes.database.persistentVolumeClaim.claimName = "database"; + nodeName = "jefke"; + + volumes.database.hostPath = { + path = "/mnt/longhorn/persistent/volumes/atuin-db"; + type = "Directory"; + }; containers = { atuin = { @@ -88,11 +93,6 @@ portName = "web"; }; }; - - longhorn.persistentVolumeClaim.database = { - volumeName = "atuin-db"; - storage = "300Mi"; - }; }; }; } diff --git a/modules/bootstrap-default.nix b/modules/bootstrap-default.nix index e8d3101..ac52a89 100644 --- a/modules/bootstrap-default.nix +++ b/modules/bootstrap-default.nix @@ -87,7 +87,6 @@ lab = { longhorn.persistentVolume = { - atuin-db.storage = "300Mi"; kitchenowl.storage = "100Mi"; paperless-data.storage = "10Gi"; paperless-redisdata.storage = "20Mi";