diff --git a/kubenix-modules/minecraft.nix b/kubenix-modules/minecraft.nix index 4ce6940..a103db6 100644 --- a/kubenix-modules/minecraft.nix +++ b/kubenix-modules/minecraft.nix @@ -24,6 +24,11 @@ mountPath = "/data"; }]; }; + + securityContext = { + fsGroup = 1000; + fsGroupChangePolicy = "OnRootMismatch"; + }; }; }; }; diff --git a/kubenix-modules/volumes.nix b/kubenix-modules/volumes.nix index a616217..004a3d1 100644 --- a/kubenix-modules/volumes.nix +++ b/kubenix-modules/volumes.nix @@ -5,14 +5,14 @@ # volumeMounts = [ # { - # name = "radicale"; - # mountPath = "/radicale"; + # name = "minecraft"; + # mountPath = "/minecraft"; # } # ]; # }; # volumes = { - # radicale.persistentVolumeClaim.claimName = "radicale"; + # minecraft.persistentVolumeClaim.claimName = "minecraft"; # }; # }; @@ -21,6 +21,7 @@ hedgedoc-uploads.storage = "50Mi"; freshrss.storage = "400Mi"; radicale.storage = "200Mi"; + minecraft.storage = "1Gi"; }; nfsVolumes = { @@ -41,7 +42,6 @@ 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";