previ / gk8soperator

A Gravitee APIM Kubernetes Operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gravitee API management Kubernetes Operator

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

Build and Install

Clone the repo and use the Makefile targets:

  • make client to generate the gravitee API client stub
  • make manifests to generate the Custom Resource Definition files
  • make install to install the CRD in the predefined kubernetes cluster
  • make to build the operator binary
  • make run to run the operator locally, interacting with the predefined kubernetes cluster
  • make docker-build to build a container image for the operator
  • helm install <release_name> --values=<your values file> helm/gk8soperator

CRD reference

See the APIEndpoint and Application CRD definition and examples here and here for reference.

About

A Gravitee APIM Kubernetes Operator


Languages

Language:Go 89.1%Language:Makefile 6.8%Language:Smarty 2.7%Language:Dockerfile 1.4%