Commit f8de470
committed
feat: add PostgREST image registry and schema/role preflight
- Pin postgrest image to ghcr.io/pgedge/postgrest:14.5
- Extend version pattern to accept two-part versions (e.g. 14.5)
- Add PostgRESTPreflightResource with PrimaryExecutor to validate
that configured schemas and anon role exist before provisioning
- Refresh() returns ErrNotFound so the check re-runs on every apply
- Extract connectToPrimaryDB as a package-level helper shared between
ServiceUserRole and PostgRESTPreflightResource
- All config fields optional: db_schemas defaults to "public",
db_anon_role to "pgedge_application_read_only"
PLAT-499, PLAT-5001 parent a356068 commit f8de470
15 files changed
Lines changed: 323 additions & 65 deletions
File tree
- api/apiv1
- design
- gen
- control_plane
- http
- control_plane
- client
- server
- server/internal
- api/apiv1
- orchestrator/swarm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
808 | 818 | | |
809 | 819 | | |
810 | 820 | | |
| |||
0 commit comments