A Kubernetes operator to manage the lifecycle of API definitions and Applications.
The operator is intended for an deployment of the API Gateway in a Kubernetes cluster, the API endpoint target can be defined as full URI resources but also as Kubernetes Services.
Only a subset of Gravitee API Gateway (version 3.x) features are supported:
- Plans (with JWT, API Key, and Keyless security options)
- CORS
- Deployment tags
Clone the repo and use the Makefile targets:
make client
to generate the gravitee API client stubmake manifests
to generate the Custom Resource Definition filesmake install
to install the CRD in the predefined kubernetes clustermake
to build the operator binarymake run
to run the operator locally, interacting with the predefined kubernetes clustermake docker-build
to build a container image for the operatorhelm install <release_name> --values=<your values file> helm/gk8soperator
See the APIEndpoint and Application CRD definition and examples here and here for reference.