Skip to content

feat(multigres): add the multigres_probe role to the image - #2638

Open
niconosenzo wants to merge 2 commits into
developfrom
multigres-probe-role
Open

niconosenzo wants to merge 2 commits into
developfrom
multigres-probe-role

Conversation

@niconosenzo

@niconosenzo niconosenzo commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Create multigres_probe in the Multigres init manifest, next to the postgres role: LOGIN, NOBYPASSRLS, CONNECTION LIMIT 2, statement_timeout 2s, no password and no grants. Multigres uses it to check that a cluster can answer a query over the normal client path; multipooler grants it read access to multigres.heartbeat and nothing else.

Reserve the name in supautils.reserved_roles for both Multigres variants so non-superuser roles cannot drop, alter or take it over. Only the Multigres images get it, so it is not added to the shared init-scripts.

Create multigres_probe in the Multigres init manifest, next to the
postgres role: LOGIN, NOBYPASSRLS, CONNECTION LIMIT 2, statement_timeout
2s, no password and no grants. Multigres uses it to check that a cluster
can answer a query over the normal client path; multipooler grants it
read access to multigres.heartbeat and nothing else.

Reserve the name in supautils.reserved_roles for both Multigres variants
so non-superuser roles cannot drop, alter or take it over. Only the
Multigres images get it, so it is not added to the shared init-scripts.
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Package version diff: none (aarch64-linux, x86_64-linux)

@niconosenzo
niconosenzo marked this pull request as ready for review November 10, 2026 15:46
@niconosenzo
niconosenzo requested a review from a team as a code owner November 10, 2026 15:46
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