Move Prowlarr off Longhorn
This commit is contained in:
parent
84bbe20ffb
commit
bd62351184
2 changed files with 16 additions and 12 deletions
|
@ -402,7 +402,22 @@ in {
|
|||
};
|
||||
|
||||
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 = {
|
||||
image = utils.mkNixNGImage "prowlarr";
|
||||
|
@ -422,11 +437,6 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
fsGroup = 413;
|
||||
fsGroupChangePolicy = "OnRootMismatch";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -808,11 +818,6 @@ in {
|
|||
storage = "75Mi";
|
||||
};
|
||||
|
||||
prowlarr = lib.mkIf cfg.prowlarr.enable {
|
||||
volumeName = "prowlarr";
|
||||
storage = "150Mi";
|
||||
};
|
||||
|
||||
bazarr = lib.mkIf cfg.bazarr.enable {
|
||||
volumeName = "bazarr";
|
||||
storage = "25Mi";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue