ON-PREM CHOREO CLOUD BOTH

What it is

The gateway-operator is a Kubernetes operator in the data plane. It watches gateway custom resources such as APIGateway and RestApi and installs the gateway Helm chart (controller and runtime) when it sees one.

Why it exists

Installing a gateway for each organization and environment should be a declarative resource, not a manual Helm command.

How it works

  • Version 0.11.0, installed by the script ensure-gateway-operator.sh into openchoreo-data-plane.
  • It sees an APIGateway custom resource and installs the gateway chart using the values from the referenced ConfigMap.
  • It also reconciles resources such as RestApi that describe routes.
  • On Choreo Cloud the data plane runs it under the name api-platform-operator.

Identity and access

It uses Kubernetes permissions inside the cluster. It passes the gateway registration token to the controller from the referenced Secret.

Key facts

Version
0.11.0
Namespace
openchoreo-data-plane
Watches
APIGateway, RestApi and more
Side
Data plane (gateway)

Talks to (3)

Used by (1)

  • needed by APIGateway CR
    Operator reconciles CR and installs gateway chart
    CR watch