// +defaultvalueanyDefault sets the default value for this field.| book.kubebuilder.io
Agentgateway uses the CEL expression language throughout the project to enable flexibility. CEL allows writing simple expressions based on the request context that evaluate to some result. Example expressions Review the following examples of expressions for different uses cases. Default function You can use the default function to provide a fallback value if the expression cannot be resolved. Request header fallback with example of an anonymous user:| agentgateway
The Common Expression Language (CEL) is used in the Kubernetes API to declare validation rules, policy rules, and other constraints or conditions. CEL expressions are evaluated directly in the API server, making CEL a convenient alternative to out-of-process mechanisms, such as webhooks, for many extensibility use cases. Your CEL expressions continue to execute so long as the control plane's API server component remains available. Language overview The CEL language has a straightforward synta...| Kubernetes
HTTPRoute¶| gateway-api.sigs.k8s.io