gravitee-apim

by QuenchWorks

Helm chartv0.0.24App 4.12.27Apache-2.0Verified publisher

Hardened Gravitee API Management (APIM) community edition on CVE-gated nonroot images. The gateway, the management API and the console, with a bundled MongoDB. Enterprise plugins are not included.

About this chart

Gravitee APIM

Gravitee API Management (community edition) designs, secures and publishes APIs. This chart runs its three parts on QuenchWorks images: the gateway, the management API and the console UI, with a bundled MongoDB. All images are nonroot, run on a read-only root filesystem, have 0 fixable CVEs, are cosign-signed and are pinned by digest.

Only the Apache-2.0 community plugins are in the images. The Enterprise plugins (Kafka, MQTT, RabbitMQ and other message endpoints, SSE/WebSocket/webhook entrypoints, AI and MCP proxies, and the policies that need a Gravitee license key) are removed at image build time. HTTP and TCP proxy APIs with keyless, API key, JWT and OAuth2 plans work.

Install

helm install apim oci://ghcr.io/quenchworks/charts/gravitee-apim
kubectl port-forward svc/apim-gravitee-apim-console 8080:8080

Open http://127.0.0.1:8080 and log in as admin. The password is generated on the first install and kept across upgrades:

kubectl get secret apim-gravitee-apim -o jsonpath='{.data.admin-password}' | base64 -d; echo

The console's nginx proxies /management and /portal to the management API, so one address serves the UI and the API it calls. With ingress.enabled, ingress.consoleHost routes /, /management and /portal, and ingress.gatewayHost routes to the gateway.

APIs you deploy are served by the gateway Service on port 8082.

Values

KeyDefaultMeaning
admin.password""admin password; empty generates one (key admin-password of the chart Secret)
admin.existingSecret""read the admin password from your own Secret (admin.existingSecretKey)
nodeApi.password""basic-auth password of the internal node API (user admin, ports 18082/18083)
jwtSecret""signs console and portal sessions; empty generates 64 characters
encryptionSecret""32 characters, encrypts API properties; shared by gateway and API
databasegraviteeMongoDB database name
mongodb.enabledtruebundled MongoDB; false plus externalMongodb.uri or externalMongodb.existingSecret
gateway.replicaCount1gateway replicas; they share state through MongoDB
gateway.javaOpts, api.javaOpts""extra JVM flags (JAVA_TOOL_OPTIONS); the heap is 70% of the memory limit
gateway.extraEnv, api.extraEnv[]any Gravitee setting as a gravitee_<path> env var
tls.enabledfalsethe gateway (8082) serves HTTPS only from the PEM pair at /tls; management API and console stay HTTP in the release. The generated certificate names the release fullname and localhost; add <release>-gravitee-apim-gateway and your hosts with tls.certManager.dnsNames (also applied to the Helm-generated certificate)
tls.existingSecret""a kubernetes.io/tls Secret to use (1st choice)
tls.certManager.enabledfalserequest a cert-manager Certificate from tls.certManager.issuerRef (2nd choice)
tls.selfSigned.validityDays365otherwise Helm generates a CA + certificate, kept across upgrades
console.enabledtruethe admin UI
ingress.*offone Ingress with a console host and a gateway host

The management API reads a gravitee.yml from this chart (ConfigMap), not the image's stock file, which defines four demo users with published passwords. Only admin exists.

Not included

  • Elasticsearch: analytics and request logs are off (repositories.analytics.type: none) and the gateway's Elasticsearch reporter is disabled. Point both at your own cluster with api.extraEnv and gateway.extraEnv to turn them on.
  • The developer portal UI. The portal REST API (/portal) runs in the management API.
  • The SQL Server JDBC driver (the PostgreSQL and MariaDB drivers ship for a JDBC repository).

The bundled MongoDB does not start on Linux kernels 6.19 through 7.0.13: mongod detects them and exits, because its bundled TCMalloc is incompatible with those kernels (MongoDB production notes, SERVER-121912). Kernel 7.0.14 or later, or 6.18 or earlier, avoids it.

Deploy gravitee-apim with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gravitee-apim on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgravitee-apim is pinned at v0.0.24 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply