intelligence_src_6dc544294b7f21f98a
- Source-provided label
- Publisher RSS metadata
- Evidence class
- mentioned in report
- Confidence
- Not reported
- Observed
- Nov 25, 2026 17:22 UTC
- Retrieved
- Nov 25, 2026 17:37 UTC
Originally published at webofmike.com on 2026-11-17T16:07:00Z. The demo repo and every command in it were run before publishing. kgateway v2.5.1 shipped on 2026-11-06 with a change that is easy to miss in a changelog and annoying to find out about the hard way: PR #14992 adds explicit minimum and maximum bounds to a batch of CRD fields across BackendConfigPolicy, Backend, ListenerPolicy, and GatewayExtension. Values that Envoy itself would refuse now get rejected by the Kubernetes API server at kubectl apply, instead of being accepted and failing somewhere deeper in the control plane. (kgateway is a CNCF Gateway API implementation built on Envoy, used as a general Kubernetes ingress and API gateway. It's a separate project from agentgateway, Solo's gateway built specifically for AI agent and MCP traffic. This post is about kgateway, not agentgateway.) I built a small kind cluster to see exactly what that looks like. The demo is in themsquared/kgateway-admission-validation-demo: two manifests the API server now refuses outright, and a working gateway built from the ones that pass. What admission validation was missing before kgateway's CRDs have always had an OpenAPI schema, so the API server already checked type: a string where a string belongs, an integer where an integer belongs. What the schema mostly didn't check was range. A BackendConfigPolicy with healthCheck.timeout: 0s is the right type, a valid duration string, and completely useless, because Envoy needs a positive timeout to actually time anything out. Before v2.5.1, that value passed CRD admission, got picked up by the kgateway controller, and only became a problem once it reached Envoy's own config validation, with nothing about it visible in the kubectl apply exit code. PR #14992 moves that check to the boundary. The same invalid value now fails at the API server, with the specific field and the specific reason. Watching the API server reject it The CRD schema change shows up as a CEL rule on the field itself: kubectl get crd backendconfigpolicies.gateway.kgateway.dev -o json | \ python3 -c "import json,sys; print(json.load(sys.stdin)['spec']['versions'][0]['schema']['openAPIV3Schema']['properties']['spec']['properties']['healthCheck']['properties']['timeout'])" { "description": "Timeout is time to wait for a health check response...", "maxLength": 32, "type": "string", "x-kubernetes-validations": [ {"message": "invalid duration value", "rule": "matches(self, '^([0-9]{1,5}(h|m|s|ms)){1,4}$')"}, {"message": "must be at least 1ms", "rule": "duration(self) >= duration('1ms')"} ] } Apply a BackendConfigPolicy with healthCheck.timeout: 0s: kubectl apply -f manifests/01-bad-backendconfigpolicy.yaml The BackendConfigPolicy "bad-healthcheck" is invalid: spec.healthCheck.timeout: Invalid value: "0s": must be at least 1ms The same pattern applies to a Backend with a static host port outside the valid range: kubectl apply -f manifests/05-bad-backend-port.yaml The Backend "bad-static-backend" is invalid: spec.static.hosts[0].port: Invalid value: 70000: port must be between 1 and 65535 Both of these are rejected before the kgateway controller ever sees the object. There's no reconcile loop to get stuck, no status condition to go read, no proxy to restart and discover is still broken. The error comes back synchronously, on the same kubectl apply that created the problem. The valid version, end to end The same policy with a real timeout attaches and works. I stood up an httpbin backend behind a Gateway and HTTPRoute, then attached a BackendConfigPolicy with healthCheck.timeout: 2s: kubectl apply -f manifests/04-good-backendconfigpolicy.yaml kubectl -n demo get backendconfigpolicy good-healthcheck -o jsonpath='{.status}' {"ancestors":[{"ancestorRef":{"group":"","kind":"Service","name":"httpbin","namespace":"demo"}, "conditions":[{"reason":"Valid","st
9d4afc3a5672ec0cb59d6faed620cdaff94a0f54e1996784e7955d552e5433faNetwork indicators are visibly defanged. This page does not make them clickable or send them to another service.
No validated file hashes or network indicators are stored for this record.
This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.
Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.
1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.
Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.