Skip to content

[DOCS] Operator: document OIDC authentication (spec.auth.oidc and caCertRef) #214

Closed

Description

@edenreich

Summary

The Kubernetes Operator now supports OIDC authentication end to end. The Gateway controller emits
AUTH_ENABLE, AUTH_OIDC_ISSUER, AUTH_OIDC_CLIENT_ID and AUTH_OIDC_CLIENT_SECRET from
spec.auth.oidc, and a new spec.auth.oidc.caCertRef mounts a CA certificate so a self-signed issuer
(for example Keycloak) is trusted during OIDC discovery (operator PR inference-gateway/operator#109).

The operator docs (operator.md) document the Gateway CRD but do not yet cover the authentication
configuration, so users enabling OIDC on the operator have no reference for these fields.

Affected pages

  • operator.md - add an "Authentication (OIDC)" section documenting spec.auth:
    • enabled, provider
    • oidc.issuerUrl, oidc.clientId
    • oidc.clientSecretRef (Secret key reference)
    • oidc.caCertRef (ConfigMap key reference holding a PEM CA for a self-signed issuer)
  • Cross-link from the authentication guide.

Example to add

A minimal Gateway snippet with spec.auth.oidc (issuerUrl, clientId, clientSecretRef, caCertRef),
matching the Kubernetes authentication example migrated in inference-gateway/inference-gateway#369.

Acceptance Criteria

Source: inference-gateway/operator#109, inference-gateway/inference-gateway#369

Activity

  1. added
    documentation
    on Jun 11, 2026
  2. added theissue type on Jun 11, 2026
  3. moved this to Todo in 2026on Jun 11, 2026
  4. edenreich commented on Jun 11, 2026

    @edenreich
    ContributorAuthor

    @claude Can you document it? use /maintainer

  5. inference-gateway-maintainer commented on Jun 11, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 5m 44s —— View job • docs/issue-214-20260611-2359


    Documenting Operator OIDC authentication

    Done. Documented spec.auth.oidc (including caCertRef) in operator.md and cross-linked the authentication guide.

    • Gather context (operator.md, authentication.md, config conventions)
    • Verify exact field shapes + env emission against operator source (gateway_types.go, gateway_controller.go)
    • Track issue on Roadmap 2026 board (Status: In progress → QA)
    • Add an "Authentication (OIDC)" section to operator.md documenting spec.auth.oidc + caCertRef and emitted AUTH_OIDC_* env vars
    • Add a working Gateway OIDC example
    • Cross-link with the authentication guide
    • Run npm run lint:md, npm run format:check, npm run build (all pass)
    • Commit and open PR

    What changed

    operator.md - new ## Authentication (OIDC) section:

    • spec.auth table (enabled, provider) and spec.auth.oidc table (issuerUrl, clientId, clientSecretRef, caCertRef), each mapped to the env var the Gateway controller emits - AUTH_ENABLE, AUTH_OIDC_ISSUER, AUTH_OIDC_CLIENT_ID, AUTH_OIDC_CLIENT_SECRET, and SSL_CERT_FILE for caCertRef.
    • Notes that caCertRef mounts a PEM CA at /usr/local/share/ca-certificates/oidc-ca.crt and points SSL_CERT_FILE at it so a self-signed issuer (e.g. Keycloak) is trusted during OIDC discovery.
    • A working Gateway OIDC example (Secret + CA ConfigMap + spec.auth.oidc), mirroring the Kubernetes authentication example.
    • Gateway field table now links to the new section.

    authentication.md - two cross-links to the operator: the self-signed-certificates section (the caCertRef equivalent of the manual SSL_CERT_FILE mount) and a Next Steps bullet.

    All field shapes and env emission were verified against the operator source rather than assumed. The new section is SSR'd into dist/operator/index.html (anchor #authentication-oidc).

    Create a PR - already opened as #216.

    --- - branch docs/issue-214-20260611-2359

  6. moved this from Todo to In progress in 2026on Jun 12, 2026
  7. moved this from In progress to QA in 2026on Jun 12, 2026
  8. moved this from QA to Done in 2026on Jun 12, 2026
  9. inference-gateway-releaser commented on Jun 16, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.6.111 🎉

    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