Chart: test the converter (Gotenberg) with a read-only root filesystem #997

Open
opened 2026-10-24 16:13:51 +00:00 by Cordy · 0 comments
Owner

Found in the #985 research (research-985-5 §1).

Gotenberg upstream does not support a read-only root. Others run it with emptyDirs on /tmp and /home/gotenberg (Chromium writes /home/gotenberg/.local; LibreOffice's profile goes to /tmp). UNVERIFIED for Cairn's preview path.

Test. kind or a dogfood namespace with pod-security.kubernetes.io/enforce=restricted; a pinned gotenberg/gotenberg:8.x-libreoffice tag (check it exists); readOnlyRootFilesystem: true, emptyDir /tmp and /home/gotenberg, fsGroup: 1001. Convert .docx, .pptx, .odt, .rtf through Cairn's preview path, also across a --libreoffice-restart-after restart. Pass = 200 and a PDF for each, no EROFS in kubectl logs.

If it passes: make it the chart default. Until then the docs wording is corrected in the #985 docs issue.

Found in the #985 research (research-985-5 §1). Gotenberg upstream does not support a read-only root. Others run it with emptyDirs on `/tmp` and `/home/gotenberg` (Chromium writes `/home/gotenberg/.local`; LibreOffice's profile goes to `/tmp`). UNVERIFIED for Cairn's preview path. **Test.** kind or a dogfood namespace with `pod-security.kubernetes.io/enforce=restricted`; a pinned `gotenberg/gotenberg:8.x-libreoffice` tag (check it exists); `readOnlyRootFilesystem: true`, emptyDir `/tmp` and `/home/gotenberg`, `fsGroup: 1001`. Convert .docx, .pptx, .odt, .rtf through Cairn's preview path, also across a `--libreoffice-restart-after` restart. Pass = 200 and a PDF for each, no EROFS in `kubectl logs`. If it passes: make it the chart default. Until then the docs wording is corrected in the #985 docs issue.
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#997
No description provided.