feat(manage-server): sync pg_tde encryption-at-rest installer changes #28
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
primatekuntech/triton-install!28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/pg-tde-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mirrors triton PR #1052 (issue #1050): swaps the bundled Postgres image to
percona/percona-distribution-postgresql:18(ships pg_tde built in), addspg-tde-bootstrap.sh, and adds anensure_pg_tde()retrofit step toupgrade.shfor already-deployed installs.Includes two fixes found while verifying the source PR end-to-end (not present in the source repo's first push, both added before this sync):
PGDATA, not a separate volume — an independently-mounted volume comes back root-owned on real Docker with no way to fix it, since this image runs as a non-root user from its very first process.ensure_pg_tde()discovers the running container's actualPGDATAbefore touching anything and refuses to proceed on a mismatch, rather than assuming a fixed path — a real, reproduced risk on deployments whose data predates this change.Source PR (triton repo): all CI checks green, including a new
postgres-tde-bootstrapjob and a full local redeploy verified against a real production-representative database (186k rows restored from backup, confirmed encrypted and readable post-migration).License-server has no distribution copy in this repo (per
triton's ownCLAUDE.md), so nothing to sync there.