fix paper and traeffik

This commit is contained in:
un-oeil 2026-10-11 21:37:38 +02:00
parent fca3c066db
commit 69deddcdea

View file

@ -162,6 +162,9 @@ files survive a node failure (2 replicas) but not the loss of the pool.
- a `Chart.yaml` (umbrella chart with the real chart as a dependency + `values.yaml`). - a `Chart.yaml` (umbrella chart with the real chart as a dependency + `values.yaml`).
2. Volumes: `storageClassName: longhorn`, and `strategy: Recreate` on the 2. Volumes: `storageClassName: longhorn`, and `strategy: Recreate` on the
Deployment (a Longhorn volume attaches to one node at a time). Deployment (a Longhorn volume attaches to one node at a time).
Put `enableServiceLinks: false` in the pod spec: otherwise a Service named
like the app injects `<APP>_PORT=tcp://...`, which some apps (Paperless)
read as their own setting.
3. Secrets: add a `seal` line to `scripts/seal-secrets.sh`, or run `kubeseal` 3. Secrets: add a `seal` line to `scripts/seal-secrets.sh`, or run `kubeseal`
by hand. Never commit a plain Secret. by hand. Never commit a plain Secret.
4. A Postgres database: create it by hand, because the init script only runs on 4. A Postgres database: create it by hand, because the init script only runs on