Migrate Radicale to Longhorn

This commit is contained in:
Pim Kunis 2024-05-21 20:26:48 +02:00
parent a9c54864d3
commit cf38f3229f
4 changed files with 23 additions and 3 deletions

View file

@ -67,7 +67,6 @@
lab = { lab = {
ingresses.freshrss = { ingresses.freshrss = {
host = "rss.kun.is"; host = "rss.kun.is";
entrypoint = "localsecure";
service = { service = {
name = "freshrss"; name = "freshrss";

View file

@ -69,6 +69,11 @@
data.persistentVolumeClaim.claimName = "radicale"; data.persistentVolumeClaim.claimName = "radicale";
config.configMap.name = "radicale"; config.configMap.name = "radicale";
}; };
securityContext = {
fsGroup = 2999;
fsGroupChangePolicy = "OnRootMismatch";
};
}; };
}; };
}; };

View file

@ -1,8 +1,26 @@
{ {
# kubernetes.resources.pods.testje.spec = {
# containers.testje = {
# image = "nginx";
# volumeMounts = [
# {
# name = "radicale";
# mountPath = "/radicale";
# }
# ];
# };
# volumes = {
# radicale.persistentVolumeClaim.claimName = "radicale";
# };
# };
lab = { lab = {
longhornVolumes = { longhornVolumes = {
hedgedoc-uploads.storage = "50Mi"; hedgedoc-uploads.storage = "50Mi";
freshrss.storage = "400Mi"; freshrss.storage = "400Mi";
radicale.storage = "200Mi";
}; };
nfsVolumes = { nfsVolumes = {
@ -16,7 +34,6 @@
sonarr-config.path = "sonarr/config"; sonarr-config.path = "sonarr/config";
bazarr-config.path = "bazarr/config"; bazarr-config.path = "bazarr/config";
atticd.path = "atticd"; atticd.path = "atticd";
radicale.path = "radicale";
syncthing.path = "syncthing/config"; syncthing.path = "syncthing/config";
kitchenowl.path = "kitchenowl/data"; kitchenowl.path = "kitchenowl/data";
pihole-data.path = "pihole/data"; pihole-data.path = "pihole/data";

View file

@ -7,7 +7,6 @@ let
"/radicale" "/radicale"
"/pihole/data" "/pihole/data"
"/pihole/dnsmasq" "/pihole/dnsmasq"
"/traefik/acme"
"/forgejo/data" "/forgejo/data"
"/forgejo/runner/data" "/forgejo/runner/data"
"/forgejo/runner/certs" "/forgejo/runner/certs"