Files
cozystack/packages/system
Aleksei Sviridkin 648ad82dd3 refactor(postgres-operator): scope webhook-ready RBAC to release namespace
Address review feedback from gemini-code-assist on
packages/system/postgres-operator/templates/webhook-ready-hook.yaml:83.

The Job targets the cnpg-webhook-service/services/proxy subresource, which
is namespaced and lives in the release namespace. A namespaced Role and
RoleBinding grant the exact permission needed without creating global
RBAC for a namespaced probe, which is the principle of least privilege.

Also update the kind assertions in tests/webhook-ready-hook_test.yaml so
the unittest suite tracks the new Role/RoleBinding objects.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-04-24 13:31:57 +03:00
..
2026-04-22 07:28:09 +00:00
2026-03-25 15:57:25 +05:00
2026-04-22 07:28:09 +00:00
2026-03-25 15:57:25 +05:00
2026-04-22 07:28:09 +00:00
2026-04-22 07:28:09 +00:00
2026-03-25 15:57:25 +05:00
2026-01-20 03:24:32 +01:00
2026-04-22 07:28:09 +00:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-04-22 07:28:09 +00:00
2026-04-22 07:28:09 +00:00
2026-04-22 07:28:09 +00:00
2026-03-25 15:57:25 +05:00
2026-04-22 07:28:09 +00:00
2026-04-22 07:28:09 +00:00
2026-02-10 20:19:03 +01:00
2026-03-25 15:57:25 +05:00
2026-01-15 23:32:41 +00:00
2026-01-20 03:24:32 +01:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-04-22 07:28:09 +00:00
2026-02-17 22:54:12 +01:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-01-20 03:24:32 +01:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-04-22 07:28:09 +00:00
2026-03-25 15:57:25 +05:00
2026-03-25 15:57:25 +05:00
2026-04-14 19:59:19 +05:00
2026-03-25 15:57:25 +05:00