You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(lago-pdf): default gotenberg to ghcr.io/getlago/gotenberg:8.32 with legacy Porter flags
The chart previously defaulted to `getlago/lago-gotenberg:8` on Docker
Hub. That tag is Gotenberg 8.5.0 (pushed 2024-05-07), whose default for
`--chromium-restart-after` is 0 — Chromium never restarts, which
reproduces the 5-minute request hang described in
`scripts/pdf.rb` on lago-infrastructure.
The Porter deployments `pdf-web` / `pdf-eu-web` have always run
`ghcr.io/getlago/gotenberg:8.32` with six explicit flags that restart
Chromium every 100 jobs, cap the Chromium queue at 20, disable JS
inside invoice HTML, ignore certificate errors on the fetcher, and
disable LibreOffice routes we do not use. lago-infrastructure PR #1483
pinned those on the three managed clusters. This change lifts them to
the chart default so self-hosted users get the same configuration.
- Chart.yaml: appVersion 8 → 8.32 (the container template resolves
`gotenberg.image.tag | default .Chart.AppVersion`).
- values.yaml: gotenberg.image.repository getlago/lago-gotenberg →
ghcr.io/getlago/gotenberg. Both images are public, so no
imagePullSecrets change is needed.
- values.yaml: gotenberg.container.args → the seven-arg legacy set.
The prior `--api-disable-health-check-logging` is intentionally
dropped; it was renamed to
`--api-disable-health-check-route-telemetry` in Gotenberg 8.32 and
defaults to true, so health-check logging stays off with no flag set.
- Taskfile.yaml: dev/kind image ref bumped to match the new default so
local integration tests exercise the same image.
- README.md: regenerated via helm-docs to reflect the new defaults.
@@ -25,29 +25,29 @@ A Helm chart for the Lago PDF stack (Gotenberg + optional Rails worker)
25
25
26
26
| Key | Type | Default | Description |
27
27
|-----|------|---------|-------------|
28
-
| worker | object |`{"config":{"enabled":false,"nameOverride":"lago-pdf-config"},"container":{"command":["./scripts/start.worker.sh"],"ports":null},"enabled":true,"livenessProbe":null,"nameOverride":"lago-pdf-worker","readinessProbe":null,"service":{"enabled":false}}`| PDF worker subchart (lago-rails configured as a background worker) |
28
+
| worker | object |`{"config":{"enabled":false,"nameOverride":"lago-pdf-config"},"container":{"command":["./scripts/start.worker.sh"],"ports":[]},"enabled":true,"livenessProbe":{"enabled":false},"nameOverride":"lago-pdf-worker","readinessProbe":{"enabled":false},"service":{"enabled":false}}`| PDF worker subchart (lago-rails configured as a background worker) |
29
29
| worker.enabled | bool |`true`| Deploy the PDF worker |
30
30
| worker.nameOverride | string |`"lago-pdf-worker"`| Override the worker subchart release name |
| gotenberg.replicaCount | int |`1`| Number of Gotenberg replicas (ignored when autoscaling is enabled) |
48
48
| gotenberg.container.name | string |`""`| Override the container name |
49
49
| gotenberg.container.command | list |`[]`| Container entrypoint command |
50
-
| gotenberg.container.args | list |`["gotenberg","--api-disable-health-check-logging"]`| Container command arguments |
50
+
| gotenberg.container.args | list |`["gotenberg","--libreoffice-disable-routes=true","--chromium-ignore-certificate-errors=true","--chromium-disable-javascript=true","--api-timeout=30s","--chromium-max-queue-size=20","--chromium-restart-after=100"]`| Container command arguments. Match the legacy Porter deployments (`pdf-web` / `pdf-eu-web`): restart Chromium every 100 jobs to avoid zombie processes, cap the queue at 20, disable JS in invoice HTML, ignore certificate errors on the Chromium fetcher, disable LibreOffice routes we do not use, and cap the API timeout at 30s. `--api-disable-health-check-logging` was renamed to `--api-disable-health-check-route-telemetry` in Gotenberg 8.32 and defaults to `true`, so it is intentionally not set here.|
51
51
| gotenberg.container.ports.http | int |`3000`| HTTP container port |
52
52
| gotenberg.service.enabled | bool |`true`| Create a Service for Gotenberg |
53
53
| gotenberg.service.type | string |`"ClusterIP"`| Service type |
@@ -84,9 +84,9 @@ A Helm chart for the Lago PDF stack (Gotenberg + optional Rails worker)
0 commit comments