Repository navigation
Closed
Task
Copy link
Labels
Description
Summary
Several documented manifests use CRD fields that no longer exist or are no longer read. The Gateway CRD schema does not preserve unknown fields, so with kubectl's default strict field validation these manifests are rejected. In api/v1alpha1/gateway_types.go, Kubernetes Gateway API exposure is spec.gatewayAPI (RoutingSpec, L74-77), while spec.routing is now gateway-native model routing (ModelRoutingSpec with only enabled, config and configMapRef, L79-82 and L654-676). Tracing is configured through spec.telemetry.traces.exporter.otlp (L158-221), and spec.ingress was removed. The documented provider list and the Agent example README are also out of date.
Acceptance Criteria
-
README.mdProduction Gateway with Authentication (L529-539): renamerouting:togatewayAPI:. As written,spec.routing.gatewayandspec.routing.httpRouteare unknown fields, androuting.enabled: truewould turn on model routing (ROUTING_ENABLED=true,internal/controller/gateway_controller.goL642-647) instead of creating a Gateway and HTTPRoute. -
README.mdDistributed Tracing (L952-961): replacetelemetry.tracing.enabledandtelemetry.tracing.endpointwithtelemetry.enabled: trueplustelemetry.traces.exporter.otlp.endpoint(optionalprotocol: grpcorhttp/protobuf). Only OTLP is supported, andTELEMETRY_TRACING_ENABLEDandTELEMETRY_TRACING_OTLP_ENDPOINTare only emitted in that case (gateway_controller.goL529-536). The Jaeger:14268/api/tracesendpoint in the snippet is not an OTLP endpoint. -
examples/gateway-complete/gateway.yaml(L187-193, plus the Ingress TLS comment at L50) andexamples/gateway-complete/README.md(L10, L20, L55-58):spec.ingressno longer exists and the operator creates no Ingress. Move the example tospec.gatewayAPI, and describe whattask cluster:createactually installs (cert-manager, Gateway API CRDs and Envoy Gateway, no nginx-ingress).README.mdL726 and L734 present this file as the complete, production-ready example, so it currently fails to apply. -
README.mdSupported AI Providers (L59) and AI Providers (L123-135): the provider list is generated from the canonical schema (internal/providers/zz_generated_providers.go) and has 16 entries (anthropic, cloudflare, cohere, deepseek, elevenlabs, google, groq, llamacpp, minimax, mistral, moonshot, nvidia, ollama, ollama_cloud, openai, zai) pluscustomviaCUSTOM_API_URLandCUSTOM_API_KEY(internal/providers/providers.go). Update both lists and note thatproviders[].nameis matched case-insensitively and that unknown names are left out ofstatus.providerSummary. -
examples/agent-server/README.mdstep 2 (L22-28): it tells users to setapiKey.secretRef, which the Agent controller never reads (spec.agent.apiKeyis deprecated; onlyspec.agent.llm.apiKeySecretRefis emitted, asA2A_AGENT_CLIENT_API_KEY,agent_controller.goL436-442). The shippedagent.yamlinstead references Secretinference-gateway-providers-secretkeyOPENAI_API_KEYin namespaceagents, which nothing creates, and itsllm.baseURLtargets Serviceinference-gateway.inference-gateway, while the suggested prerequisite../gateway-minimal/creates a Gateway namedsimple-gateway.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Sep 25, 2026
@claude can you work on this?
inference-gateway-maintainer commentedon Sep 25, 2026
Claude finished @edenreich's task in 4m 29s —— View job •
docs/issue-253-20260925-2213• [Create PR ➔](https://github.com/inference-gateway/operator/compare/main...docs/issue-253-20260925-2213?quick_pull=1&title=Issue%20%23253%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23253%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #259
README.md:routing:->gatewayAPI:in the production auth exampleREADME.md: distributed tracing ->telemetry.enabled+telemetry.traces.exporter.otlpREADME.md: provider lists regenerated (16 providers +custom, case-insensitive matching, unknown names skipped fromstatus.providerSummary)examples/gateway-complete/: droppedspec.ingress, moved tospec.gatewayAPI, fixed the prerequisites/verification/curl stepsexamples/agent-server/: fixed step 2, the Secret, andllm.baseURL#259
Beyond the acceptance criteria
Two more examples had the identical drift and would also fail to apply, so I fixed them as part of the same rename:
examples/gateway-with-routing-simple/gateway.yamlandexamples/gateway-with-routing-advanced/gateway.yamlboth usedrouting:where they meant Gateway API exposure.Regression guard
Added
api/v1alpha1/examples_test.go- it strict-decodes every CR underexamples/into its API type, which is exactly the validation kubectl applies. Verified it reproduces the bug rather than just passing: on the pre-fix tree it reports 4 unknown-field errors; on the branchgo test ./api/...is green.Notes on verification
go vet ./api/...andgo test ./api/... ./internal/providers/...pass.golangci-lintcould not be run here - the command is not in this session's allowed tools. If you want it run in future runs, add it to--allowedTools. The new test file follows the repo'sgci/importasrules (named imports, stdlib then third-party).gateway-complete'sgatewayAPI.gateway.tls.issueratselfsigned-cluster-issuer(the ClusterIssuertask cert-manager:clusterissuercreates), and I changedexamples/agent-server/agent.yamlto reference a newagent-llm-secretstub in theagentsnamespace, since secret refs are namespace-local and nothing created the oldinference-gateway-providers-secretthere.| Branch
inference-gateway-releaser commentedon Oct 3, 2026
🎉 This issue has been resolved in version 0.27.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀