Migrate attic data to longhorn
This commit is contained in:
parent
2ed872fa8f
commit
11200c0ff7
3 changed files with 7 additions and 58 deletions
|
@ -72,9 +72,14 @@
|
|||
};
|
||||
|
||||
volumes = {
|
||||
data.persistentVolumeClaim.claimName = "atticd";
|
||||
data.persistentVolumeClaim.claimName = "attic";
|
||||
config.configMap.name = "atticd-config";
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
fsGroup = 0;
|
||||
fsGroupChangePolicy = "OnRootMismatch";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,51 +1,4 @@
|
|||
{
|
||||
# kubernetes.resources.pods.testje.spec = {
|
||||
# containers.testje = {
|
||||
# image = "nginx";
|
||||
|
||||
# volumeMounts = [
|
||||
# {
|
||||
# name = "jellyfin";
|
||||
# mountPath = "/jellyfin";
|
||||
# }
|
||||
# {
|
||||
# name = "transmission";
|
||||
# mountPath = "/transmission";
|
||||
# }
|
||||
# {
|
||||
# name = "jellyseerr";
|
||||
# mountPath = "/jellyseerr";
|
||||
# }
|
||||
# {
|
||||
# name = "radarr";
|
||||
# mountPath = "/radarr";
|
||||
# }
|
||||
# {
|
||||
# name = "prowlarr";
|
||||
# mountPath = "/prowlarr";
|
||||
# }
|
||||
# {
|
||||
# name = "sonarr";
|
||||
# mountPath = "/sonarr";
|
||||
# }
|
||||
# {
|
||||
# name = "bazarr";
|
||||
# mountPath = "/bazarr";
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
|
||||
# volumes = {
|
||||
# jellyfin.persistentVolumeClaim.claimName = "jellyfin";
|
||||
# transmission.persistentVolumeClaim.claimName = "transmission";
|
||||
# jellyseerr.persistentVolumeClaim.claimName = "jellyseerr";
|
||||
# radarr.persistentVolumeClaim.claimName = "radarr";
|
||||
# prowlarr.persistentVolumeClaim.claimName = "prowlarr";
|
||||
# sonarr.persistentVolumeClaim.claimName = "sonarr";
|
||||
# bazarr.persistentVolumeClaim.claimName = "bazarr";
|
||||
# };
|
||||
# };
|
||||
|
||||
lab = {
|
||||
longhornVolumes = {
|
||||
hedgedoc-uploads.storage = "50Mi";
|
||||
|
@ -67,12 +20,12 @@
|
|||
prowlarr.storage = "150Mi";
|
||||
sonarr.storage = "150Mi";
|
||||
bazarr.storage = "25Mi";
|
||||
attic.storage = "15Gi";
|
||||
};
|
||||
|
||||
nfsVolumes = {
|
||||
media.path = "media";
|
||||
music.path = "media/music";
|
||||
atticd.path = "atticd";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,15 +8,6 @@ let
|
|||
"/media/movies"
|
||||
"/media/music"
|
||||
"/media/shows"
|
||||
"/jellyfin/config"
|
||||
"/transmission/config"
|
||||
"/jellyseerr/config"
|
||||
"/radarr/config"
|
||||
"/prowlarr/config"
|
||||
"/sonarr/config"
|
||||
"/bazarr/config"
|
||||
"/minecraft"
|
||||
"/atticd"
|
||||
"/longhorn-backup"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue