You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Gateway HPA samples in config/samples fail CRD validation #327
core_v1alpha1_gateway_simple_hpa.yaml: unknown fields spec.hpa.minReplicas, spec.hpa.maxReplicas, spec.hpa.targetCPUUtilizationPercentage, and spec.providers[].type and spec.providers[].config, which the provider spec replaced with enabled and env.
api/v1alpha1/examples_test.go strict-decodes every CR under examples/ but not config/samples/, so nothing catches the drift.
Found while verifying the examples for #325 on a k3d cluster.
Steps to Reproduce
Install the CRDs from manifests/crds.yaml.
Run kubectl apply --dry-run=server -n default -f config/samples/core_v1alpha1_gateway_simple_hpa.yaml.
Expected Behavior
Every sample applies against the CRDs of the same commit.
Actual Behavior
Gateway in version "v1alpha1" cannot be handled as a Gateway: strict decoding error: unknown field "spec.hpa.maxReplicas", unknown field "spec.hpa.minReplicas", ...
The other samples (agent, gpu, mcp and the three orchestrator samples) pass. A fix updates both Gateway samples to the current HPASpec and provider shape and extends TestExamplesUseKnownFields to config/samples/*.yaml.
Activity
inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.33.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀