Skip to content

docs: add examples for guardrails, mtls, agent mcp and otlp receiver - #364

Merged
edenreich merged 1 commit into
mainfrom
feat/issue-359-20261117-0700
Nov 17, 2026
Merged

edenreich merged 1 commit into
mainfrom
feat/issue-359-20261117-0700

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Adds runnable examples for the user-facing fields that previously had no example. Each new example has a README with a table mapping every field to what the operator renders.

  • examples/gateway-with-guardrails/ - spec.guardrails (enabled, failMode, configMapRef, commented externalUrl/externalTimeout) with a ConfigMap holding allow-all and block-PII Rego policies. The README covers the /etc/inference-gateway/guardrails mount, the GUARDRAILS_* env vars and the deny->closed / allow->open mapping.
  • examples/gateway-with-mtls/ - cert-manager CA plus server/client certificates (certificates.yaml) and a Gateway using spec.server.tls (certificateRef, keyRef, clientCARef) and spec.client.tls (caRef, certificateRef, keyRef). The README covers the default inference-gateway-tls Secret at /app/tls, the https port name and the switch to tcpSocket probes under clientCARef.
  • examples/agent-with-mcp/ - an Agent with every spec.mcp knob (emitted as A2A_MCP_*) against the MCP from examples/mcp-server/, plus spec.card.url.
  • examples/orchestrator-telemetry-receiver/ - an Orchestrator with spec.telemetry.receiver (creates orchestrator-receiver, sets INFER_TELEMETRY_RECEIVER_ADDRESS) and a Gateway pushing traces to it. The README notes that telemetry.enabled must also be true for the env var to be set.
  • examples/gateway-with-model-routing/README.md - the missing walkthrough: config vs configMapRef, the <name>-routing ConfigMap and a fast-chat request.
  • examples/gateway-complete/gateway.yaml - adds spec.service (type, port, annotations) and uncomments spec.serviceAccount. Also fixes a stale TLS comment that claimed TLS exposes port 8443 (the server port is kept and renamed https).
  • README.md - links the focused examples.

Verification

  • Every Gateway/Agent/Orchestrator document in the new and changed manifests strictly decodes (yaml.UnmarshalStrict) into the api/v1alpha1 types, so there are no unknown or misspelled fields. This used a throwaway test that was not committed.
  • Not applied to a live cluster in this run.

no docs ticket: examples only, no behavior change

Closes #359

Generated with Claude Code

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner November 17, 2026 07:05
@edenreich
edenreich merged commit f8dbeec into main Nov 17, 2026
1 check passed
@edenreich
edenreich deleted the feat/issue-359-20261117-0700 branch November 17, 2026 07:18
inference-gateway-releaser Bot added a commit that referenced this pull request Nov 17, 2026
## [0.37.1](v0.37.0...v0.37.1) (2026-11-17)

### 🐛 Bug Fixes

* **gateway:** apply server and mcp request timeouts to the gateway env ([#363](#363)) ([03322a4](03322a4))

### 👷 CI

* align Dependabot schedule and grouping ([#350](#350)) ([a9ec246](a9ec246))
* **deps:** bump go.opentelemetry.io/otel/sdk from 1.45.0 to 1.47.0 ([#346](#346)) ([c98a06c](c98a06c))
* set up orchestrators from repos.yaml ([#351](#351)) ([99c4f6b](99c4f6b))

### 📚 Documentation

* add guardrails, mtls, agent mcp and receiver examples ([#364](#364)) ([f8dbeec](f8dbeec))
* Add Mirelo and Webwright to provider list and correct FAQ namespace advice ([#353](#353)) ([0c5ff1f](0c5ff1f))
* align gateway, agent and install docs with the controllers ([#362](#362)) ([4ba29fe](4ba29fe)), closes [#357](#357)
* **orchestrator:** fix example secret namespace and mcp build step ([#360](#360)) ([3d7319c](3d7319c))
* **providers:** document mirelo and webwright ([#344](#344)) ([7f410fd](7f410fd))
* use lowercase commit subjects in AGENTS.md examples ([#354](#354)) ([c0d20cb](c0d20cb))
* wire gpu example through openai and drop custom provider ([#361](#361)) ([c613bee](c613bee))

### 🔧 Miscellaneous

* **deps:** bump flox dependencies to latest ([#348](#348)) ([baaeb1e](baaeb1e))
* **deps:** bump flox dependencies to latest ([#349](#349)) ([9dfad6d](9dfad6d))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.37.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] docs: add examples for Gateway guardrails, TLS and mTLS, Agent MCP client and Orchestrator OTLP receiver

1 participant