Move Prowlarr off Longhorn
This commit is contained in:
parent
84bbe20ffb
commit
bd62351184
2 changed files with 16 additions and 12 deletions
|
@ -112,7 +112,6 @@
|
||||||
jellyfin.storage = "10Gi";
|
jellyfin.storage = "10Gi";
|
||||||
transmission.storage = "25Mi";
|
transmission.storage = "25Mi";
|
||||||
jellyseerr.storage = "75Mi";
|
jellyseerr.storage = "75Mi";
|
||||||
prowlarr.storage = "150Mi";
|
|
||||||
bazarr.storage = "25Mi";
|
bazarr.storage = "25Mi";
|
||||||
minecraft.storage = "1Gi";
|
minecraft.storage = "1Gi";
|
||||||
ntfy.storage = "300Mi";
|
ntfy.storage = "300Mi";
|
||||||
|
|
|
@ -402,7 +402,22 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
volumes.config.persistentVolumeClaim.claimName = "prowlarr";
|
volumes.config.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/prowlarr";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
|
|
||||||
|
affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms = [
|
||||||
|
{
|
||||||
|
matchExpressions = [
|
||||||
|
{
|
||||||
|
key = "hasMedia";
|
||||||
|
operator = "In";
|
||||||
|
values = ["true"];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
containers.prowlarr = {
|
containers.prowlarr = {
|
||||||
image = utils.mkNixNGImage "prowlarr";
|
image = utils.mkNixNGImage "prowlarr";
|
||||||
|
@ -422,11 +437,6 @@ in {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
securityContext = {
|
|
||||||
fsGroup = 413;
|
|
||||||
fsGroupChangePolicy = "OnRootMismatch";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -808,11 +818,6 @@ in {
|
||||||
storage = "75Mi";
|
storage = "75Mi";
|
||||||
};
|
};
|
||||||
|
|
||||||
prowlarr = lib.mkIf cfg.prowlarr.enable {
|
|
||||||
volumeName = "prowlarr";
|
|
||||||
storage = "150Mi";
|
|
||||||
};
|
|
||||||
|
|
||||||
bazarr = lib.mkIf cfg.bazarr.enable {
|
bazarr = lib.mkIf cfg.bazarr.enable {
|
||||||
volumeName = "bazarr";
|
volumeName = "bazarr";
|
||||||
storage = "25Mi";
|
storage = "25Mi";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue