OS
Schema Hub

gatewayconfig

GatewayConfig provides configuration for the AI Gateway external processor container that is deployed alongside the Gateway. A GatewayConfig is referenced by a Gateway via the annotation "aigateway.envoyproxy.io/gateway-config". The GatewayConfig must be in the same namespace as the Gateway that references it. This allows gateway-level configuration of the external processor, including environment variables (e.g., for tracing configuration) and resource requirements. Multiple Gateways can reference the same GatewayConfig to share configuration. Environment Variable Precedence: When merging environment variables, the following precedence applies (highest to lowest): 1. GatewayConfig.Spec.ExtProc.Kubernetes.Env (this resource) 2. Global controller flags (extProcExtraEnvVars) If the same environment variable name exists in both sources, the GatewayConfig value takes precedence.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/aigateway.envoyproxy.io/gatewayconfig_v1beta1.json
▶Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/aigateway.envoyproxy.io/gatewayconfig_v1beta1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

apiVersionstring
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kindstring
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadataobject
specobject
Spec defines the configuration for the external processor.
statusobject
Status defines the status of the GatewayConfig.

Version Diff

Compare:→