Component ยท Data side
APIGateway CR
BOTH Concept Gateway
What it is
The APIGateway custom resource is the Kubernetes object that declares one gateway. It points to the AMS control channel on port 9243, to the Secret holding the registration token, and to a ConfigMap carrying the gateway's Helm values. The Agent Manager gateway chart creates it.
Why it exists
A single declarative object lets the operator install, upgrade and remove a gateway without scripts.
How it works
- Created by the Helm chart wso2-amp-api-platform-gateway-extension after the bootstrap job finishes.
- Names the control plane host (AMS on 9243) and the token Secret by reference.
- Its configRef points at a ConfigMap with the gateway chart values.
- The gateway-operator watches it and installs or updates the gateway.
Identity and access
It refers to the registration token Secret but does not contain the token itself.
Key facts
- Kind
- APIGateway
- Namespace
- <org>-<env>
- Watched by
- gateway-operator
- Side
- Data plane (gateway)
Talks to (1)
- depends on gateway-operator 0.11.0 Operator reconciles CR and installs gateway chartCR watch
Used by (1)
- needed by Gateway registration token Secret APIGateway spec.controlPlane.tokenSecretRefsecretRef