Tristan Partin
1c237d0c6d
Move compute_ctl claims struct into public API ( #11505 )
...
This is preparatory work for teaching neon_local to pass the
Authorization header to compute_ctl.
Signed-off-by: Tristan Partin <tristan@neon.tech >
2025-04-09 16:58:44 +00:00
Tristan Partin
7602e6ffc0
Skip compute_ctl authorization checks in testing builds ( #11186 )
...
We will require authorization in production. We need to skip in testing
builds for now because regression tests would fail. See
https://github.com/neondatabase/neon/issues/11316 for more information.
Signed-off-by: Tristan Partin <tristan@neon.tech >
Signed-off-by: Tristan Partin <tristan@neon.tech >
2025-04-03 00:00:28 +00:00
Tristan Partin
40672b739e
Move maybe_add_request_id_header middleware into middleware module ( #11187 )
...
This matches the authorization middleware.
---------
Signed-off-by: Tristan Partin <tristan@neon.tech >
Co-authored-by: Mikhail Kot <mikhail@neon.tech >
2025-03-12 15:34:46 +00:00
Tristan Partin
7b7e4a9fd3
Authorize compute_ctl requests from the control plane ( #10530 )
...
The compute should only act if requests come from the control plane.
Signed-off-by: Tristan Partin <tristan@neon.tech >
Signed-off-by: Tristan Partin <tristan@neon.tech >
2025-03-04 18:08:00 +00:00