Skip to content

[DOCS] Operator CRD drift: auth.oidc.audiences, telemetry.traces, spec.guardrails, Orchestrator mcp #779

Closed

Description

Summary

operator.md pins operator v0.26.0, but it describes the Gateway and Orchestrator CRDs as they were in older releases. Checked against api/v1alpha1/gateway_types.go, api/v1alpha1/orchestrator_types.go and internal/controller/gateway_controller.go at v0.26.0:

  • spec.auth.oidc.audiences has existed since operator v0.25.0 and is rendered into AUTH_OIDC_AUDIENCE, yet the page says the CRD has no audience field.
  • spec.telemetry.traces.exporter.otlp maps onto the gateway's TELEMETRY_TRACING_ENABLED / TELEMETRY_TRACING_OTLP_ENDPOINT, yet the page says tracing can only be set through standard OTEL env vars.
  • spec.guardrails (operator v0.22.0) and Orchestrator spec.mcp are not documented.

Acceptance Criteria

  • operator.md spec.auth.oidc table: add audiences ([]string). It is emitted comma-separated as AUTH_OIDC_AUDIENCE when non-empty; when empty, the gateway expects clientId
  • operator.md note below that table: drop "the CRD has no field for AUTH_OIDC_AUDIENCE yet ... accept only the audience that equals clientId". Keep the part that is still true: clientSecretRef emits AUTH_OIDC_CLIENT_SECRET, which the gateway ignores
  • operator.md Gateway field table, telemetry row: replace "There is no telemetry.tracing block - tracing is configured through standard OTEL env vars on the gateway pod" with telemetry.traces.exporter.otlp.endpoint. With telemetry.enabled: true, it sets TELEMETRY_TRACING_ENABLED=true and TELEMETRY_TRACING_OTLP_ENDPOINT on the gateway container
  • operator.md Gateway field table: add guardrails.{enabled,failMode,externalUrl,externalTimeout,configMapRef}. The controller emits:
    • GUARDRAILS_ENABLED=true
    • GUARDRAILS_POLICY_DIR=/etc/inference-gateway/guardrails, where configMapRef is mounted
    • GUARDRAILS_FAIL_MODE, mapping failMode deny to closed and allow to open
    • GUARDRAILS_EXTERNAL_URL and GUARDRAILS_EXTERNAL_TIMEOUT
  • operator.md Orchestrator field table: add mcp.{enabled,servers[],serviceDiscovery} (OrchestratorMCPSpec). The controller writes the static servers and discovered MCP CRs into the pod's ~/.infer/mcp.yaml

Activity

  1. added
    documentation
    on Sep 25, 2026
  2. edenreich commented on Sep 25, 2026

    @edenreich
    Contributor

    @claude Can you work on this?

  3. inference-gateway-maintainer commented on Sep 25, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Operator CRD drift in operator.md

    • Gather context (verified against operator v0.26.0 sources: gateway_types.go, orchestrator_types.go, gateway_controller.go)
    • spec.auth.oidc: added audiences ([]string) row - comma-joined into AUTH_OIDC_AUDIENCE when non-empty, else the gateway expects clientId
    • Rewrote the gap note: dropped the "no field for AUTH_OIDC_AUDIENCE" claim, kept the clientSecretRef -> AUTH_OIDC_CLIENT_SECRET gap
    • Gateway telemetry row: replaced "no telemetry.tracing block" with telemetry.traces.exporter.otlp.endpoint (TELEMETRY_TRACING_ENABLED=true + TELEMETRY_TRACING_OTLP_ENDPOINT)
    • Gateway table: added guardrails.{enabled,failMode,externalUrl,externalTimeout,configMapRef} plus a ## Guardrails (spec.guardrails) section covering GUARDRAILS_ENABLED, GUARDRAILS_POLICY_DIR=/etc/inference-gateway/guardrails, the deny->closed / allow->open fail-mode mapping, and GUARDRAILS_EXTERNAL_URL / _TIMEOUT
    • Orchestrator table: added mcp.{enabled,servers[],serviceDiscovery} (OrchestratorMCPSpec) - static + discovered MCP CRs written into ~/.infer/mcp.yaml
    • bun run lint:md, bun run format:check, bun run build - all pass
    • Committed and opened PR docs: fix operator CRD drift in operator.md #788

    Two details worth noting, both taken from the controller and reflected in the docs: GUARDRAILS_EXTERNAL_TIMEOUT is only emitted alongside externalUrl, and guardrails.configMapRef is a LocalObjectReference (name only), not a key selector.

    PR: #788

  4. inference-gateway-releaser commented on Sep 26, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.17 🎉

    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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions