Migrate pihole to longhorn

This commit is contained in:
Pim Kunis 2024-05-23 20:11:04 +02:00
parent 95639457f8
commit 1e79b3ed75
2 changed files with 15 additions and 5 deletions

View file

@ -51,6 +51,11 @@
data.persistentVolumeClaim.claimName = "pihole-data"; data.persistentVolumeClaim.claimName = "pihole-data";
dnsmasq.persistentVolumeClaim.claimName = "pihole-dnsmasq"; dnsmasq.persistentVolumeClaim.claimName = "pihole-dnsmasq";
}; };
securityContext = {
fsGroup = 1000;
fsGroupChangePolicy = "OnRootMismatch";
};
}; };
}; };
}; };

View file

@ -5,14 +5,19 @@
# volumeMounts = [ # volumeMounts = [
# { # {
# name = "nextcloud"; # name = "pihole-data";
# mountPath = "/nextcloud"; # mountPath = "/pihole/data";
# }
# {
# name = "pihole-dnsmasq";
# mountPath = "/pihole/dnsmasq";
# } # }
# ]; # ];
# }; # };
# volumes = { # volumes = {
# nextcloud.persistentVolumeClaim.claimName = "nextcloud"; # pihole-data.persistentVolumeClaim.claimName = "pihole-data";
# pihole-dnsmasq.persistentVolumeClaim.claimName = "pihole-dnsmasq";
# }; # };
# }; # };
@ -23,6 +28,8 @@
radicale.storage = "200Mi"; radicale.storage = "200Mi";
minecraft.storage = "1Gi"; minecraft.storage = "1Gi";
nextcloud.storage = "50Gi"; nextcloud.storage = "50Gi";
pihole-data.storage = "750Mi";
pihole-dnsmasq.storage = "16Mi";
}; };
nfsVolumes = { nfsVolumes = {
@ -38,8 +45,6 @@
atticd.path = "atticd"; atticd.path = "atticd";
syncthing.path = "syncthing/config"; syncthing.path = "syncthing/config";
kitchenowl.path = "kitchenowl/data"; kitchenowl.path = "kitchenowl/data";
pihole-data.path = "pihole/data";
pihole-dnsmasq.path = "pihole/dnsmasq";
paperless-ngx-redisdata.path = "paperless-ngx/redisdata"; paperless-ngx-redisdata.path = "paperless-ngx/redisdata";
paperless-ngx-data.path = "paperless-ngx/data"; paperless-ngx-data.path = "paperless-ngx/data";
forgejo.path = "forgejo/data"; forgejo.path = "forgejo/data";