Move Bazarr off Longhorn
This commit is contained in:
parent
bd62351184
commit
b04acff6e5
2 changed files with 4 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";
|
||||||
bazarr.storage = "25Mi";
|
|
||||||
minecraft.storage = "1Gi";
|
minecraft.storage = "1Gi";
|
||||||
ntfy.storage = "300Mi";
|
ntfy.storage = "300Mi";
|
||||||
deluge.storage = "500Mi";
|
deluge.storage = "500Mi";
|
||||||
|
|
|
@ -563,7 +563,10 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
volumes = {
|
volumes = {
|
||||||
config.persistentVolumeClaim.claimName = "bazarr";
|
config.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/bazarr";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
|
|
||||||
media.hostPath = {
|
media.hostPath = {
|
||||||
path = "/mnt/longhorn/persistent/media";
|
path = "/mnt/longhorn/persistent/media";
|
||||||
|
@ -571,11 +574,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
securityContext = {
|
|
||||||
fsGroup = 412;
|
|
||||||
fsGroupChangePolicy = "OnRootMismatch";
|
|
||||||
};
|
|
||||||
|
|
||||||
affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms = [
|
affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms = [
|
||||||
{
|
{
|
||||||
matchExpressions = [
|
matchExpressions = [
|
||||||
|
@ -818,11 +816,6 @@ in {
|
||||||
storage = "75Mi";
|
storage = "75Mi";
|
||||||
};
|
};
|
||||||
|
|
||||||
bazarr = lib.mkIf cfg.bazarr.enable {
|
|
||||||
volumeName = "bazarr";
|
|
||||||
storage = "25Mi";
|
|
||||||
};
|
|
||||||
|
|
||||||
music = lib.mkIf cfg.jellyfin.enable {
|
music = lib.mkIf cfg.jellyfin.enable {
|
||||||
volumeName = "music";
|
volumeName = "music";
|
||||||
storage = "70Gi";
|
storage = "70Gi";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue