Skip to content

Gateway Helm Chart

A simple Helm chart for deploying Gateway in Kubernetes.

Installation

Terminal window
# Install with default values
helm install gateway ./gateway
# Install with custom values
helm install gateway ./gateway -f values.yaml

Configuration Parameters

ParameterDescriptionDefault Value
image.repositoryDocker image nameghcr.io/centralmind/gateway
image.tagDocker image taglatest
imagePullSecretsList of image pull secrets[]
service.typeKubernetes service typeClusterIP
service.portService port8080
ingress.enabledEnable Ingresstrue
ingress.kindIngress type (IngressRoute)IngressRoute
ingress.entryPointsTraefik entry points["web"]
ingress.hosts[0].hostIngress hostnamedemo-gw.centralmind.io
ingress.hosts[0].paths[0].pathIngress path/
resources.limits.cpuCPU limit500m
resources.limits.memoryMemory limit512Mi
resources.requests.cpuCPU request100m
resources.requests.memoryMemory request128Mi

Gateway Configuration

gateway:
api:
name: Awesome API # API Name
version: "1.0" # API Version
database:
type: postgres # Database type
connection: '' # Database connection string

Example values.yaml

image:
repository: ghcr.io/centralmind/gateway
tag: "0.0.0-rc0"
# Optional: configure image pull secrets if using private registry
imagePullSecrets:
- name: registry-secret
ingress:
enabled: true
kind: IngressRoute
entryPoints:
- web
hosts:
- host: my-gateway.example.com
paths:
- path: /
pathType: Prefix
gateway:
api:
name: My API
version: "2.0"
database:
type: postgres
connection: |
hosts:
- postgres.database
user: myuser
password: mypassword
database: mydb
port: 5432