Skip to content

V1.0 hardening - #4

Merged
Yashbhu merged 5 commits into
mainfrom
v1.0-hardening
Nov 2, 2026
Merged

Yashbhu merged 5 commits into
mainfrom
v1.0-hardening

Conversation

@Yashbhu

@Yashbhu Yashbhu commented Nov 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

- startupProbe absorbs first-boot initdb/recovery so liveness cannot restart the DB into a half-initialized PGDATA.
- Guaranteed QoS (requests == limits) so node memory pressure evicts best-effort pods, not the journal.
- Pin image to postgres:16.15 (matches the glibc the data was created with; 16.4 is a Debian/glibc downgrade that trips a collation mismatch).
- Container securityContext: drop ALL caps, no privilege escalation, RuntimeDefault seccomp, read-only rootfs with emptyDir for /var/run/postgresql and /tmp; automountServiceAccountToken false.
- persistentVolumeClaimRetentionPolicy Retain on delete/scale; PDB maxUnavailable 0 for the singleton.
- New pg_dump CronJob (PVC-backed, 7-day retention) with the postgres NetworkPolicy updated to admit it.
…ert-manager ingress, versioned migrations, release pipeline + alerts
Copilot AI balanced review requested due to automatic review settings November 2, 2026 13:18
@Yashbhu
Yashbhu merged commit 29d2e06 into main Nov 2, 2026
0 of 6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants