Skip to content

[DOCS] README advertises jwt/basic Gateway auth and OTLP gRPC tracing that the operator never wires #273

Closed

Description

@inference-gateway-maintainer

Summary

Two README sections describe Gateway settings that the CRD accepts but that change nothing. spec.auth.provider (enum oidc;jwt;basic, api/v1alpha1/gateway_types.go L295-299) is never read by the Gateway controller, which maps only spec.auth.enabled (AUTH_ENABLED) and spec.auth.oidc.* (AUTH_OIDC_ISSUER, AUTH_OIDC_CLIENT_ID, AUTH_OIDC_AUDIENCE, AUTH_OIDC_CLIENT_SECRET, SSL_CERT_FILE) onto the pod (internal/controller/gateway_controller.go L536-540, L551-588). The gateway itself only implements OIDC (AuthConfig in inference-gateway/inference-gateway config/config.go), so jwt and basic are not supported. For tracing, the Gateway controller emits only TELEMETRY_TRACING_ENABLED and TELEMETRY_TRACING_OTLP_ENDPOINT and ignores telemetry.traces.exporter.otlp.protocol (gateway_controller.go L542-549); protocol is only forwarded for Agent workloads as A2A_OTEL_EXPORTER_OTLP_PROTOCOL (internal/controller/agent_controller.go L539-540). The gateway's TELEMETRY_TRACING_OTLP_ENDPOINT is an OTLP/HTTP endpoint, so following the README's gRPC hint sends OTLP/HTTP to a gRPC port and no spans arrive.

Acceptance Criteria

  • README.md L119-122 (Authentication): replace "Multiple authentication providers (oidc, jwt, basic)" with OIDC only, listing the spec.auth.oidc fields the controller maps (issuerUrl, clientId, audiences, clientSecretRef, caCertRef), and note that spec.auth.provider currently has no effect.
  • README.md L1046-1055 (Distributed Tracing): remove # or "grpc" (e.g. http://otel-collector:4317) from the Gateway example and state that the Gateway ignores protocol and always exports OTLP over HTTP, so endpoint must be an OTLP/HTTP receiver such as http://otel-collector:4318.

Activity

  1. added
    documentation
    on Oct 4, 2026
  2. edenreich commented on Oct 4, 2026

    @edenreich
    Contributor

    @claude can you work on this? use /ponytail:ponytail

  3. inference-gateway-maintainer commented on Oct 4, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 1m 1s —— View job • docs/issue-273-20261004-1100


    Done

    • Read issue + README sections
    • Verified controller mapping: gateway_controller.go sets only AUTH_ENABLED + AUTH_OIDC_*/SSL_CERT_FILE (L537-L571) and only TELEMETRY_TRACING_ENABLED / TELEMETRY_TRACING_OTLP_ENDPOINT (L545-547). spec.auth.provider (gateway_types.go:299) is never read, and protocol is never read for Gateways.
    • Authentication section: OIDC only, lists the spec.auth.oidc fields the controller maps (issuerUrl, clientId, audiences, clientSecretRef, caCertRef), notes spec.auth.provider has no effect.
    • Distributed Tracing section: dropped the grpc / :4317 hint, states the Gateway ignores protocol and always exports OTLP over HTTP so endpoint must be an OTLP/HTTP receiver (:4318), and that protocol is forwarded only for Agent workloads as A2A_OTEL_EXPORTER_OTLP_PROTOCOL.
    • Committed and opened PR docs: correct gateway auth and tracing claims in README #276; board item moved to QA.

    README-only, no code, CRD or manifest changes - so no task manifests/task generate run was needed. Skipped: no lint/test run, nothing outside Markdown prose changed.

    Note the CRD still accepts spec.auth.provider with enum oidc;jwt;basic and still accepts protocol on Gateways. This PR only stops the README from promising they do something; removing or validating those fields would be a behavior change worth its own issue.

    Create a PR - already opened as #276.
    | Branch

  4. moved this from Todo to In progress in 2026on Oct 4, 2026
  5. moved this from In progress to QA in 2026on Oct 4, 2026
  6. inference-gateway-releaser commented on Oct 4, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.27.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