ON-PREM CHOREO CLOUD BOTH

What it is

openchoreo-api is the front door of the OpenChoreo control plane. It offers a REST API and an MCP server for managing projects, components, environments, builds and releases. Agent Manager's service talks to OpenChoreo only through this API.

Why it exists

It gives Agent Manager one authenticated, authorized entry point instead of direct access to the Kubernetes cluster.

How it works

  • Listens on port 8080 inside the cluster. Local setups forward it to port 8195.
  • Stores desired state as OpenChoreo custom resources, which the controller-manager reconciles.
  • Reads its identity settings, including the OIDC issuer and the authorization claim, from the openchoreo-api-config ConfigMap.
  • Agent Manager uses a generated client from the API's OpenAPI description.
  • On Choreo Cloud, calls from Agent Manager reach it through the platform-api proxy.

Identity and access

Callers send a Bearer JWT. The API verifies it against the platform ThunderID, then authorizes service accounts with ClusterAuthzRoleBindings keyed on the client_id claim.

Key facts

Port
8080 (local forward 8195)
Namespace
openchoreo-control-plane
Side
Control plane

Talks to (3)

  • depends on OpenChoreo controller-manager
    The API writes custom resources and the controller reconciles them
    Custom resources in the Kubernetes API of the control plane cluster
  • deploys to Argo Workflows
    OpenChoreo's controller turns a build or evaluation run into an Argo Workflow on the workflow plane
    WorkflowRun rendered by the controller and created in the workflow plane through the cluster-gateway and the plane agent
  • deploys to OC cluster-agent
    OpenChoreo's controller delivers rendered releases to the data plane through the cluster-gateway and the plane agent
    RenderedRelease applied through the cluster-gateway over the connection the plane agent opened (mutual TLS)

Used by (5)

  • called by agent-manager-service (AMS)
    All project, component, build, deploy operations
    REST (scheme comes from OPEN_CHOREO_BASE_URL, default http)
  • called by Workload publisher identity
    Creates release and first-env binding
    REST generate-release, releasebindings (scheme comes from the apiServer url value, default http)
  • called by Argo Workflows
    The generate-workload build step registers the Workload and releases it to the first environment
    REST workloads, generate-release, releasebindings (scheme comes from the apiServer url value, default http)
  • called by secret-manager-api
    Secret writes are forwarded to the OpenChoreo secrets API
    HTTPS /api/v1alpha1/namespaces/{ns}/secrets
  • called by platform-api (PAS)
    Platform-api forwards customer workload calls to the OpenChoreo API after namespace injection
    HTTPS /api/v1/namespaces/{ns}/..., prefix /wso2cloud-dp