hermesandadmin fc6f668a86 [ready-to-test] k3s: expand agent read access without secrets (#1)
## Summary

Expand the `agent-gateway/agent-readonly` service account from the built-in `view` role to a dedicated read-only role.

## Access policy

- Adds `get`, `list`, and `watch` for the core cluster resources and all currently served non-core API groups.
- Adds read-only non-resource access for API discovery, health, OpenAPI, and version endpoints.
- Does not grant access to the Kubernetes `secrets` resource.
- Does not grant write verbs, exec, port-forward, proxy, or token creation permissions.

## Verification

- Current target `org1/k3s:main`: `2bbac8467a9297e7056956328f576978142f3b24`
- `git diff --check`: passed
- Changed file: `k3s_rencher/infrastructure/agent-gateway/rbac.yaml`

The existing binding name is preserved so Flux applies the role change in place.

## Kustomize inclusion

The root `k3s_rencher/kustomization.yaml` already includes `infrastructure/agent-gateway`. Its nested Kustomization includes `rbac.yaml`, so the new ClusterRole is applied transitively while preserving the `agent-gateway` namespace transformation. A duplicate direct root entry would cause duplicate resource processing.

---------

Co-authored-by: admin <rudolfss13@gmail.com>
Reviewed-on: org1/k3s#1
Co-authored-by: Alex Rudenk <rudolfss13+hermes@gmail.com>
2026-11-11 13:02:40 +01:00
x
2026-08-05 11:10:16 +02:00
2020-12-02 23:35:47 +03:00
2025-05-16 23:19:05 +02:00
2023-03-11 20:55:38 +01:00
2020-12-02 23:35:47 +03:00
2017-06-08 23:08:24 +03:00
2018-05-02 23:12:40 +03:00
2020-12-02 23:35:47 +03:00
2021-08-19 00:16:56 +03:00
2023-03-11 20:55:38 +01:00
2025-06-02 23:56:25 +02:00
2020-12-03 00:22:50 +03:00
2020-12-02 23:35:47 +03:00
x
2026-11-11 12:54:58 +01:00
2017-11-28 22:58:00 +03:00
2026-10-05 23:54:20 +02:00
2020-12-02 23:35:47 +03:00
2020-12-02 23:35:47 +03:00
2020-12-02 23:35:47 +03:00
S
Description
No description provided
11 MiB
Languages
Python 46.4%
Jinja 32.6%
Shell 14.4%
Dockerfile 6.6%