Skip to content

docs: fix removed and renamed CRD fields in docs - #259

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-253-20260925-2213
Sep 25, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-253-20260925-2213

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Several documented manifests used CRD fields that no longer exist or are no longer read, so with kubectl's default strict field validation they are rejected.

  • README.md Production Gateway with Authentication: routing: -> gatewayAPI:. As written, routing.enabled: true would have turned on gateway-native model routing (ROUTING_ENABLED=true) and gateway/httpRoute were unknown fields.
  • README.md Distributed Tracing: replaced telemetry.tracing.{enabled,endpoint} with telemetry.enabled plus telemetry.traces.exporter.otlp.{endpoint,protocol}, and noted that OTLP is the only supported exporter (the old Jaeger :14268/api/traces endpoint is not OTLP).
  • README.md provider lists: regenerated from the canonical schema (internal/providers/zz_generated_providers.go, 16 providers) plus custom via CUSTOM_API_URL/CUSTOM_API_KEY, and documented that providers[].name is matched case-insensitively and unknown names are left out of status.providerSummary.
  • examples/gateway-complete/: dropped the removed spec.ingress in favour of spec.gatewayAPI, fixed the stale server-TLS comment, and corrected the README to describe what task cluster:create actually installs (cert-manager, Gateway API CRDs, Envoy Gateway - no nginx-ingress). Verification and curl steps now use the Envoy data-plane Service.
  • examples/agent-server/: step 2 told users to set apiKey.secretRef, which the Agent controller never reads. It now documents spec.agent.llm.apiKeySecretRef (emitted as A2A_AGENT_CLIENT_API_KEY), agent.yaml ships the agent-llm-secret stub in the Agent's own namespace, and llm.baseURL points at simple-gateway, the Gateway the suggested ../gateway-minimal/ prerequisite actually creates.

Beyond the acceptance criteria, examples/gateway-with-routing-simple and examples/gateway-with-routing-advanced had the same routing: -> gatewayAPI: drift and are fixed too - same root cause, same rename.

Regression guard

Added api/v1alpha1/examples_test.go, which strict-decodes every CR under examples/ into its API type. Verified it reproduces the bug: on the pre-fix tree it reports 4 unknown-field errors; on this branch go test ./api/... passes.

Not run

golangci-lint was not available to this run (command not permitted in the CI shell); go vet ./api/... and go test ./api/... ./internal/providers/... pass.

no docs ticket: this PR is itself the documentation fix, scoped to this repo's README and examples.

Closes #253

- README: rename spec.routing -> spec.gatewayAPI in the production auth
  example; spec.routing is now gateway-native model routing
- README: replace telemetry.tracing with telemetry.traces.exporter.otlp
  and note that OTLP is the only supported exporter
- README: regenerate the provider lists from the canonical schema (16
  providers plus custom) and document case-insensitive matching
- examples/gateway-complete: drop the removed spec.ingress, expose via
  spec.gatewayAPI, and describe what task cluster:create installs
- examples/gateway-with-routing-{simple,advanced}: same routing rename
- examples/agent-server: point llm.baseURL at simple-gateway, ship the
  Secret the Agent actually reads, and drop the ignored apiKey.secretRef
- add a strict-decode test over examples/ so removed or renamed fields
  cannot silently drift back in
@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner September 25, 2026 22:18
@edenreich
edenreich merged commit e81ea37 into main Sep 25, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-253-20260925-2213 branch September 25, 2026 23:07
inference-gateway-maintainer Bot added a commit that referenced this pull request Sep 25, 2026
Rebase over #257 and #259 to resolve the merge conflict: the Verification section keeps the factually correct deployment name (operator-inference-gateway, 1/1 container, per manifests/install.yaml) and the full five-CRD list, and the manifests README troubleshooting list combines the Gateway API CRDs CrashLoopBackOff hint with the Manager Exits On Startup item.
edenreich pushed a commit that referenced this pull request Sep 25, 2026
Rebase over #257 and #259 to resolve the merge conflict: the Verification section keeps the factually correct deployment name (operator-inference-gateway, 1/1 container, per manifests/install.yaml) and the full five-CRD list, and the manifests README troubleshooting list combines the Gateway API CRDs CrashLoopBackOff hint with the Manager Exits On Startup item.

Co-authored-by: inference-gateway-maintainer[bot] <246577062+inference-gateway-maintainer[bot]@users.noreply.github.com>
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 3, 2026
## [0.27.0](v0.26.0...v0.27.0) (2026-10-03)

### ✨ Features

* **gateway:** add spec.a2a with Agent CR discovery ([#269](#269)) ([e707643](e707643))

### 🐛 Bug Fixes

* **gateway:** apply service type and annotations ([#260](#260)) ([1a78570](1a78570))

### 👷 CI

* **deps:** bump the gomod group with 4 updates ([#263](#263)) ([8c30df5](8c30df5))

### 📚 Documentation

* **agents:** add code readability guidelines ([#261](#261)) ([1b8157d](1b8157d))
* **agents:** add code readability guidelines ([#262](#262)) ([41c8e79](41c8e79))
* document gateway api crds and namespace label ([#258](#258)) ([a49a634](a49a634))
* fix install docs pinned version and stale claims ([#257](#257)) ([849e6f5](849e6f5))
* fix readme monitoring labels, configmap and status ([#256](#256)) ([31516bd](31516bd))
* fix removed and renamed CRD fields in docs ([#259](#259)) ([e81ea37](e81ea37))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.278 -> 2.1.280 ([#249](#249)) ([8888466](8888466))
* **deps:** bump claude-code 2.1.280 -> 2.1.283 ([#264](#264)) ([68d42bb](68d42bb))
* **deps:** bump claude-code 2.1.283 -> 2.1.285 ([#267](#267)) ([a940cb0](a940cb0))
* **deps:** bump infer CLI v0.205.3 -> v0.208.0 ([#250](#250)) ([3bcf0b1](3bcf0b1))
* **deps:** bump infer CLI v0.208.0 -> v0.218.0 ([#265](#265)) ([e08051d](e08051d))
* **deps:** bump infer CLI v0.218.0 -> v0.221.1 ([#266](#266)) ([a75538a](a75538a))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.27.0 🎉

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 Oct 3, 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.

[DOCS] README and examples use removed or renamed CRD fields (routing, tracing, ingress)

1 participant