Fix group on Hedgedoc uploads volume

Document migration on NFS to Longhorn
This commit is contained in:
Pim Kunis 2024-05-20 18:10:26 +02:00
parent 790746a4ce
commit 4232b18ea1
2 changed files with 36 additions and 17 deletions

View file

@ -65,28 +65,16 @@
uploads.persistentVolumeClaim.claimName = "hedgedoc-uploads";
config.configMap.name = "hedgedoc-config";
};
securityContext = {
fsGroup = 65534;
fsGroupChangePolicy = "OnRootMismatch";
};
};
};
};
};
# pods.testje.spec = {
# containers.testje = {
# image = "nginx";
# volumeMounts = [
# {
# name = "uploads";
# mountPath = "/hedgedoc/public/uploads";
# }
# ];
# };
# volumes = {
# uploads.persistentVolumeClaim.claimName = "hedgedoc-uploads";
# };
# };
services.hedgedoc.spec = {
selector.app = "hedgedoc";