Centralize all Kubernetes volume definitions

This commit is contained in:
Pim Kunis 2024-05-20 20:48:47 +02:00
parent 7326dfd9e9
commit 5f14df28d5
14 changed files with 34 additions and 44 deletions

View file

@ -33,5 +33,6 @@ in
./custom/nfs-volume.nix
./custom/longhorn-volume.nix
./traefik.nix
./volumes.nix
] ++ applications;
}

View file

@ -100,7 +100,5 @@
portName = "web";
};
};
nfsVolumes.atticd.path = "atticd";
};
}

View file

@ -226,12 +226,6 @@
};
lab = {
nfsVolumes = {
forgejo.path = "forgejo/data";
forgejo-runner-data.path = "forgejo/runner/data";
forgejo-runner-certs.path = "forgejo/runner/certs";
};
ingresses.forgejo = {
host = "git.kun.is";

View file

@ -65,8 +65,6 @@
};
lab = {
longhornVolumes.freshrss.storage = "400Mi";
ingresses.freshrss = {
host = "rss.kun.is";
entrypoint = "localsecure";

View file

@ -86,8 +86,6 @@
};
lab = {
longhornVolumes.hedgedoc-uploads.storage = "50Mi";
ingresses.hedgedoc = {
host = "md.kun.is";

View file

@ -47,8 +47,6 @@
};
lab = {
nfsVolumes.kitchenowl.path = "kitchenowl/data";
ingresses.kitchenowl = {
host = "boodschappen.kun.is";

View file

@ -514,17 +514,5 @@
};
};
};
nfsVolumes = {
jellyfin-config.path = "jellyfin/config";
media.path = "media";
music.path = "media/music";
transmission-config.path = "transmission/config";
jellyseerr-config.path = "jellyseerr/config";
radarr-config.path = "radarr/config";
prowlarr-config.path = "prowlarr/config";
sonarr-config.path = "sonarr/config";
bazarr-config.path = "bazarr/config";
};
};
}

View file

@ -40,6 +40,4 @@
};
};
};
lab.nfsVolumes.minecraft.path = "minecraft";
}

View file

@ -51,8 +51,6 @@
};
lab = {
nfsVolumes.nextcloud.path = "nextcloud/data";
ingresses.nextcloud = {
host = "cloud.kun.is";

View file

@ -141,10 +141,5 @@
portName = "web";
};
};
nfsVolumes = {
paperless-ngx-redisdata.path = "paperless-ngx/redisdata";
paperless-ngx-data.path = "paperless-ngx/data";
};
};
}

View file

@ -90,10 +90,5 @@
portName = "web";
};
};
nfsVolumes = {
pihole-data.path = "pihole/data";
pihole-dnsmasq.path = "pihole/dnsmasq";
};
};
}

View file

@ -85,8 +85,6 @@
};
lab = {
nfsVolumes.radicale.path = "radicale";
ingresses.radicale = {
host = "dav.kun.is";

View file

@ -58,8 +58,6 @@
};
lab = {
nfsVolumes.syncthing.path = "syncthing/config";
ingresses.syncthing = {
host = "sync.kun.is";
entrypoint = "localsecure";

View file

@ -0,0 +1,33 @@
{
lab = {
longhornVolumes = {
hedgedoc-uploads.storage = "50Mi";
freshrss.storage = "400Mi";
};
nfsVolumes = {
jellyfin-config.path = "jellyfin/config";
media.path = "media";
music.path = "media/music";
transmission-config.path = "transmission/config";
jellyseerr-config.path = "jellyseerr/config";
radarr-config.path = "radarr/config";
prowlarr-config.path = "prowlarr/config";
sonarr-config.path = "sonarr/config";
bazarr-config.path = "bazarr/config";
atticd.path = "atticd";
radicale.path = "radicale";
syncthing.path = "syncthing/config";
kitchenowl.path = "kitchenowl/data";
pihole-data.path = "pihole/data";
pihole-dnsmasq.path = "pihole/dnsmasq";
paperless-ngx-redisdata.path = "paperless-ngx/redisdata";
paperless-ngx-data.path = "paperless-ngx/data";
nextcloud.path = "nextcloud/data";
minecraft.path = "minecraft";
forgejo.path = "forgejo/data";
forgejo-runner-data.path = "forgejo/runner/data";
forgejo-runner-certs.path = "forgejo/runner/certs";
};
};
}