Skip to content

[DOCS] examples/orchestrator walkthrough fails as written: Telegram Secret in the wrong namespace, MCP image build step missing #355

Closed

Description

Summary

Following examples/orchestrator/README.md as written does not produce a running demo. The Telegram credentials Secret is created in a namespace the Orchestrator pod cannot read from, the README never tells the reader to build the local mcp-server-time:dev image the manifests need, and the walkthrough has not caught up with the MCP parts that were added to the manifests. Found by reading the manifests against internal/controller/orchestrator_controller.go - not run against a cluster.

Acceptance Criteria

  • examples/orchestrator/01-secrets.yaml - move the telegram-bot-credentials Secret from namespace: inference-gateway to namespace: orchestrator. The Orchestrator in 05-orchestrator.yaml lives in orchestrator, and telegramEnvVars in internal/controller/orchestrator_controller.go renders tokenSecretRef and allowedUsersSecretRef as secretKeyRef env vars on the daemon pod, which only resolve in the pod's own namespace. As shipped the pod cannot start. 00-namespaces.yaml already describes orchestrator as the namespace that hosts the channel credentials.
  • examples/orchestrator/README.md step 1 - it says "replace the four REPLACE_WITH_* placeholders", but 01-secrets.yaml has three (REPLACE_WITH_DEEPSEEK_API_KEY, REPLACE_WITH_TELEGRAM_BOT_TOKEN, REPLACE_WITH_TELEGRAM_USER_IDS).
  • examples/orchestrator/README.md Run section - add the build-and-import step for mcp-server-time:dev before kubectl apply -f . (docker build -t mcp-server-time:dev . in mcp-server-time/, then k3d image import mcp-server-time:dev --cluster dev). 06-mcps.yaml deploys three MCP resources with image: mcp-server-time:dev, a local-only image, and only a comment inside that file mentions the build.
  • examples/orchestrator/README.md intro and diagram - describe the MCP part of the demo: the two discovered servers (mcp-time-a and mcp-time-b, label mcp-group: group1), the mcp-time-direct server reached by URL through spec.mcp.servers with headers, includeTools and timeoutSeconds, and the mcp-time-credentials Secret. The root README.md already points at this directory as the runnable MCP discovery demo, and step 3 already watches the mcp namespace.

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 58s —— View job • docs/issue-355-20261117-0700 • [Create PR ➔](https://github.com/inference-gateway/operator/compare/main...docs/issue-355-20261117-0700?quick_pull=1&title=Issue%20%23355%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23355%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Fixed #355 - PR #360

    • Gather context (manifests, README, telegramEnvVars in the controller)
    • 01-secrets.yaml: moved the telegram-bot-credentials Secret to the orchestrator namespace, the same namespace as the Orchestrator pod. Its secretKeyRef env vars only resolve there.
    • README step 1: changed "four" to "three" REPLACE_WITH_* placeholders
    • README Run: added a new step 2 that builds mcp-server-time:dev and runs k3d image import ... --cluster dev before kubectl apply -f .. The later steps are renumbered.
    • README intro and diagram: they now describe mcp-time-a/mcp-time-b (found by the mcp-group: group1 label) and mcp-time-direct. The Orchestrator reaches mcp-time-direct by URL through spec.mcp.servers, with an x-api-key header from mcp-time-credentials, includeTools: [get_time] and timeoutSeconds: 10.
    • Opened PR docs(orchestrator): fix example secret namespace and mcp build step #360 and moved the issue to QA on the Roadmap board

    I didn't add a docs ticket because this only changes the example. I didn't use the /domain-driven-design and /clean-architecture skills because the change has no code, only docs and YAML.

    I haven't run this on a cluster. I checked it only by reading the manifests against the controller code.

  4. moved this from Todo to In progress in 2026on Nov 17, 2026
  5. moved this from In progress to QA in 2026on Nov 17, 2026
  6. moved this from QA to Done in 2026on Nov 17, 2026
  7. 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