Component ยท Control side
OC authz (ClusterAuthzRoleBinding on client_id)
BOTH Component Control plane
What it is
OpenChoreo's authorization layer decides what each caller may do in the OpenChoreo API. Agent Manager supplies ClusterAuthzRoles and ClusterAuthzRoleBindings that match service accounts by the client_id claim in their token.
Why it exists
Newer ThunderID versions identify service accounts by client_id instead of sub. Matching on the right claim lets the platform's own service accounts be recognized.
How it works
- Agent Manager installs the roles amp-workload-deployer and amp-observer-reader, and a binding for amp-api-client.
- amp-workload-deployer allows exactly the calls the build's last step needs, such as creating releases and release bindings.
- amp-observer-reader allows viewing traces, logs and metrics.
- Setup patches the entitlement claim in the openchoreo-api-config ConfigMap (control plane) and observer-auth-config (observability plane) from sub to client_id.
Identity and access
OpenChoreo verifies the JWT signature through the platform ThunderID, then looks up roles by the client_id claim. A missing observability-plane patch causes 403 errors when fetching build logs.
Key facts
- Claim matched
- client_id
- Namespace
- openchoreo-control-plane
- Side
- Control plane
Talks to (1)
- depends on OpenChoreo 1.2.0 Service accounts authorized by client_id; patched openchoreo-api-config
Used by (1)
- needed by OC claim patches (client_id) Service account matchingConfigMap patch