Move Deluge off Longhorn

This commit is contained in:
Pim Kunis 2025-05-23 10:32:31 +02:00
parent 2aaed46413
commit 4787e12d63
2 changed files with 4 additions and 12 deletions

View file

@ -113,7 +113,6 @@
transmission.storage = "25Mi";
minecraft.storage = "1Gi";
ntfy.storage = "300Mi";
deluge.storage = "500Mi";
keepassxc.storage = "100Mi";
authentik-db.storage = "10Gi";
authentik-redis.storage = "5Gi";

View file

@ -156,7 +156,10 @@ in {
};
volumes = {
config.persistentVolumeClaim.claimName = "deluge";
config.hostPath = {
path = "/mnt/longhorn/persistent/volumes/deluge";
type = "Directory";
};
media.hostPath = {
path = "/mnt/longhorn/persistent/media";
@ -164,11 +167,6 @@ in {
};
};
securityContext = {
fsGroup = 51;
fsGroupChangePolicy = "OnRootMismatch";
};
affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms = [
{
matchExpressions = [
@ -815,11 +813,6 @@ in {
storage = "10Gi";
};
deluge = lib.mkIf cfg.deluge.enable {
volumeName = "deluge";
storage = "500Mi";
};
music = lib.mkIf cfg.jellyfin.enable {
volumeName = "music";
storage = "70Gi";