Move Jellyseerr off Longhorn

This commit is contained in:
Pim Kunis 2025-05-23 10:28:27 +02:00
parent b04acff6e5
commit 2aaed46413
2 changed files with 15 additions and 12 deletions

View file

@ -111,7 +111,6 @@
attic-db.storage = "150Mi";
jellyfin.storage = "10Gi";
transmission.storage = "25Mi";
jellyseerr.storage = "75Mi";
minecraft.storage = "1Gi";
ntfy.storage = "300Mi";
deluge.storage = "500Mi";

View file

@ -275,7 +275,10 @@ in {
};
spec = {
volumes.config.persistentVolumeClaim.claimName = "jellyseerr";
volumes.config.hostPath = {
path = "/mnt/longhorn/persistent/volumes/jellyseerr";
type = "Directory";
};
containers.jellyseerr = {
image = utils.mkNixNGImage "jellyseerr";
@ -295,11 +298,17 @@ in {
];
};
securityContext = {
# TODO: don't hardcode this
fsGroup = 51;
fsGroupChangePolicy = "OnRootMismatch";
};
affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms = [
{
matchExpressions = [
{
key = "hasMedia";
operator = "In";
values = ["true"];
}
];
}
];
};
};
};
@ -811,11 +820,6 @@ in {
storage = "500Mi";
};
jellyseerr = lib.mkIf cfg.jellyseerr.enable {
volumeName = "jellyseerr";
storage = "75Mi";
};
music = lib.mkIf cfg.jellyfin.enable {
volumeName = "music";
storage = "70Gi";