Add missing Longhorn backup target

Increase Jellyfin storage to 10Gi
Fix file system group for Ntfy files
This commit is contained in:
Pim Kunis 2025-02-15 15:51:40 +01:00
parent d29332fd6d
commit 268559dbce
4 changed files with 19 additions and 2 deletions

View file

@ -79,6 +79,11 @@
concurrency = 1;
};
backuptargets.backup.spec = {
backupTargetURL = "nfs://lewis.dmz:/mnt/longhorn/persistent/longhorn-backup";
pollInterval = "5m0s";
};
ipAddressPools.main.spec.addresses = ["192.168.30.128-192.168.30.200" "2a0d:6e00:1a77:30::2-2a0d:6e00:1a77:30:ffff:ffff:ffff:fffe"];
l2Advertisements.main.metadata = {};
@ -116,7 +121,7 @@
immich-db.storage = "5Gi";
attic.storage = "15Gi";
attic-db.storage = "150Mi";
jellyfin.storage = "5Gi";
jellyfin.storage = "10Gi";
transmission.storage = "25Mi";
jellyseerr.storage = "75Mi";
radarr.storage = "300Mi";

View file

@ -45,5 +45,12 @@
version = "v1alpha1";
kind = "Middleware";
};
backuptargets = {
attrName = "backuptargets";
group = "longhorn.io";
version = "v1beta1";
kind = "BackupTarget";
};
};
}

View file

@ -649,7 +649,7 @@ in {
longhorn.persistentVolumeClaim = {
jellyfin = lib.mkIf cfg.jellyfin.enable {
volumeName = "jellyfin";
storage = "5Gi";
storage = "10Gi";
};
deluge = lib.mkIf cfg.deluge.enable {

View file

@ -50,6 +50,11 @@
attachment-cache.persistentVolumeClaim.claimName = "attachment-cache";
data.persistentVolumeClaim.claimName = "data";
};
securityContext = {
fsGroup = 407;
fsGroupChangePolicy = "Always";
};
};
};
};