Skip to content

[DOCS] Gateway, agent and install docs: stale comments and commands that do not match the controllers #357

Closed

Description

Summary

Smaller drift across the gateway examples, the agent example and manifests/README.md: comments and commands that no longer match what the controllers do. Each item was checked against the controller code or the tool versions pinned in Taskfile.yaml - none was run against a cluster.

Acceptance Criteria

  • examples/gateway-complete/gateway.yaml - the server.tls comment says the operator "exposes port 8443 for end-to-end TLS". buildContainerPorts in internal/controller/gateway_controller.go keeps serving on spec.server.port (default 8080) and only renames the port to https. There is no 8443 anywhere in the controller.
  • examples/gateway-complete/README.md step 1 - the sample Secret holds only GROQ_API_KEY and DEEPSEEK_API_KEY, but gateway.yaml ships eight providers with enabled: true (Groq, Cohere, Cloudflare, DeepSeek, Ollama, Google, Mirelo, Custom), and buildContainer adds every enabled provider's secretKeyRef env to the container. A Secret without those keys leaves the pod in CreateContainerConfigError. Tell the reader to keep every key from the commented Secret block, or to set enabled: false on the providers they skip. Step 2 ("set enabled: true for each provider whose key you supplied") reads as if they were off by default.
  • examples/gateway-complete/README.md feature list - add the Audio API (spec.audio.enabled) and the Mirelo provider that gateway.yaml enables.
  • examples/gateway-complete/README.md step 8 and examples/gateway-with-routing-simple/README.md step 5 - svc/envoy-inference-gateway-inference-gateway does not exist. Envoy Gateway v1.2.0 (ENVOY_GATEWAY_VERSION in Taskfile.yaml) names the Service envoy-<namespace>-<name>-<8 character hash>. Look it up by label instead, for example kubectl -n envoy-gateway-system get svc -l gateway.envoyproxy.io/owning-gateway-namespace=inference-gateway,gateway.envoyproxy.io/owning-gateway-name=inference-gateway.
  • examples/gateway-with-routing-advanced/gateway.yaml - inference-gateway-advanced lists two httpRoute.hostnames, but buildDefaultListener puts only the first one on the operator-managed Gateway listener, so the second hostname never matches it. Use one hostname, or say so in the comment.
  • examples/gateway-with-routing-advanced/README.md - the letsencrypt-prod ClusterIssuer solves HTTP-01 through gatewayHTTPRoute with inference-gateway-advanced as parent. With tls.enabled: true that Gateway has a single HTTPS listener on 443 (buildDefaultListener), and cert-manager's Gateway API HTTP-01 solver needs a Gateway with a listener on port 80. Point the solver at a Gateway that has one, or use a DNS-01 solver.
  • examples/agent-server/agent.yaml - drop the A2A_AGENT_URL entry under spec.env. buildAgentEnvironmentVars in internal/controller/agent_controller.go appends its own A2A_AGENT_URL after the user's env, so the operator's value wins. spec.card.url is the field that changes it.
  • manifests/README.md - all eight kubectl apply -f commands for install.yaml and crds.yaml are client-side. The Gateway, MCP and Agent CRDs in config/crd/bases/ are 543 KB, 472 KB and 457 KB, over the 262144 bytes a last-applied-configuration annotation can hold, so they need --server-side, as the root README.md and task install already use. The ArgoCD Application in that file also lacks ServerSideApply=true.

Activity

  1. added
    documentation
    on Nov 16, 2026
  2. edenreich commented on Nov 17, 2026

    @edenreich
    Contributor

    @claude can you work on this? use /domain-driven-design /clean-architecture /ponytail:ponytail

  3. inference-gateway-maintainer commented on Nov 17, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 1m 48s —— View job • docs/issue-357-20261117-0700 • [Create PR ➔](https://github.com/inference-gateway/operator/compare/main...docs/issue-357-20261117-0700?quick_pull=1&title=Issue%20%23357%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23357%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Docs drift fixed - PR #362

    • Checked every item against the controller code
    • gateway-complete: corrected the TLS comment (HTTPS is served on spec.server.port, not 8443), listed every Secret key and the CreateContainerConfigError they prevent, added the Audio API and Mirelo to the feature list, and switched the Envoy Service lookup to its labels
    • gateway-with-routing-simple: switched the Envoy Service lookup to its labels
    • gateway-with-routing-advanced: kept one hostname, with a comment that only the first one reaches the listener. The ClusterIssuer now uses DNS-01 (Cloudflare), and a note explains when HTTP-01 still works
    • agent-server: removed A2A_AGENT_URL from spec.env, because the operator sets its own value and spec.card.url is the field that changes it
    • manifests/README.md: added --server-side to all eight install.yaml/crds.yaml applies, and ServerSideApply=true to the ArgoCD Application
    • Committed and opened PR docs: align gateway, agent and install docs with the controllers #362 (Roadmap board status set to QA)

    Notes:

    • I loaded /domain-driven-design and /clean-architecture, but this change only touches docs. The only part that applied was making the docs use the same terms as the code.
    • Nothing was run against a cluster. The DNS-01 example uses Cloudflare as a placeholder, so readers on another DNS provider need to change it.
    • No docs ticket was filed, because the PR changes no behavior.

    View PR #362 |

  4. moved this from Todo to In progress in 2026on Nov 17, 2026
  5. added a commit that references this issue on Nov 17, 2026
    d2a1480
  6. moved this from In progress to QA in 2026on Nov 17, 2026
  7. moved this from QA to Done in 2026on Nov 17, 2026
  8. inference-gateway-releaser commented on Nov 17, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.37.1 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions