Migrate kitchenowl data to longhorn

This commit is contained in:
Pim Kunis 2024-05-23 21:19:29 +02:00
parent 1e894a8672
commit 44704472b4
3 changed files with 28 additions and 28 deletions

View file

@ -2,9 +2,7 @@
kubernetes.resources = {
secrets.kitchenowl.stringData.jwtSecretKey = "ref+sops://secrets/sops.yaml#/kitchenowl/jwtSecretKey";
deployments = {
kitchenowl = {
deployments.kitchenowl = {
metadata.labels.app = "kitchenowl";
spec = {
@ -30,6 +28,10 @@
mountPath = "/data";
}];
};
securityContext = {
fsGroup = 0;
fsGroupChangePolicy = "OnRootMismatch";
};
};
};

View file

@ -5,14 +5,14 @@
# volumeMounts = [
# {
# name = "forgejo";
# mountPath = "/forgejo";
# name = "kitchenowl";
# mountPath = "/kitchenowl";
# }
# ];
# };
# volumes = {
# forgejo.persistentVolumeClaim.claimName = "forgejo";
# kitchenowl.persistentVolumeClaim.claimName = "kitchenowl";
# };
# };
@ -26,6 +26,7 @@
pihole-data.storage = "750Mi";
pihole-dnsmasq.storage = "16Mi";
forgejo.storage = "20Gi";
kitchenowl.storage = "100Mi";
};
nfsVolumes = {
@ -40,7 +41,6 @@
bazarr-config.path = "bazarr/config";
atticd.path = "atticd";
syncthing.path = "syncthing/config";
kitchenowl.path = "kitchenowl/data";
paperless-ngx-redisdata.path = "paperless-ngx/redisdata";
paperless-ngx-data.path = "paperless-ngx/data";
};

View file

@ -3,8 +3,6 @@ let
cfg = config.lab.data-sharing;
nfsShares = [
"/forgejo/data"
"/kitchenowl/data"
"/syncthing/config"
"/paperless-ngx/data"
"/paperless-ngx/redisdata"