postgres
This commit is contained in:
parent
ae78803b27
commit
07b4b83df4
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue