This commit is contained in:
un-oeil 2026-11-07 21:56:01 +01:00
parent ae78803b27
commit 07b4b83df4

View file

@ -16,6 +16,13 @@ spec:
# No <SERVICE>_PORT=tcp://... env vars: apps like Paperless read
# PAPERLESS_PORT as their own setting and crash.
enableServiceLinks: false
# Start directly as postgres (uid/gid 70 in the alpine image): the
# entrypoint then skips gosu, which spins forever at 100% CPU on the
# k3s nodes since their 2026-11-07 kernel upgrade. No fsGroup: it would
# add group permissions to PGDATA and postgres refuses anything but 0700/0750.
securityContext:
runAsUser: 70
runAsGroup: 70
containers:
- name: postgres
image: postgres:17.11-alpine