You are browsing documentation for an older version. See the latest documentation here.
Gateway Configuration
Kong Gateway Operator provides a GatewayConfiguration
CRD to customise the deployment of both ControlPlane
and DataPlane
resources.
These customizations are primarily used to set the container image and any environment variables that are required by the containers.
Here is an example of the GatewayConfiguration
that provides an enterprise license for Kong Gateway.
kind: GatewayConfiguration
apiVersion: gateway-operator.konghq.com/v1alpha1
metadata:
name: kong
namespace: <your-namespace>
spec:
dataPlaneOptions:
deployment:
podTemplateSpec:
spec:
containers:
- name: proxy
image: kong/kong-gateway:3.8.0.0
env:
- name: KONG_LICENSE_DATA
valueFrom:
secretKeyRef:
key: license
name: kong-enterprise-license
For more information about GatewayConfiguration
see the GatewayConfiguration CRD reference.