Move Deluge off Longhorn
This commit is contained in:
parent
2aaed46413
commit
4787e12d63
2 changed files with 4 additions and 12 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue