Remove music from Longhorn

This commit is contained in:
Pim Kunis 2025-05-23 13:07:22 +02:00
parent 2cff59c5e3
commit 34498046b8
2 changed files with 5 additions and 12 deletions

View file

@ -82,9 +82,6 @@
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 = {};
# We don't need backups for music, just replication is enough.
persistentVolumes.music.spec.csi.volumeAttributes.recurringJobSelector = lib.mkForce "";
};
};
@ -116,7 +113,6 @@
authentik-db.storage = "10Gi";
authentik-redis.storage = "5Gi";
mealie.storage = "3Gi";
music.storage = "70Gi";
};
tailscaleIngresses.tailscale-longhorn = {

View file

@ -73,7 +73,11 @@ in {
volumes = {
cache.persistentVolumeClaim.claimName = "jellyfin-cache";
music.persistentVolumeClaim.claimName = "music";
music.hostPath = {
path = "/mnt/longhorn/persistent/music";
type = "Directory";
};
config.hostPath = {
path = "/mnt/longhorn/persistent/volumes/jellyfin";
@ -715,13 +719,6 @@ in {
service.name = "deluge";
};
};
longhorn.persistentVolumeClaim = {
music = lib.mkIf cfg.jellyfin.enable {
volumeName = "music";
storage = "70Gi";
};
};
};
};
}