Repository navigation
Description
Summary
Two documented ways of pointing a Gateway at an OpenAI-compatible endpoint use a provider name and environment variables that nothing consumes. The operator copies spec.providers[].env onto the gateway container as given, and the gateway only reads <PROVIDER_ID>_API_URL and <PROVIDER_ID>_API_KEY for the provider ids in its registry (config/load.go and providers/registry/registry_data.go in inference-gateway/inference-gateway, checked at commit 5d4b30d). That registry holds the same 18 ids as internal/providers/zz_generated_providers.go - there is no custom and no ornith, and LLM_BASE_URL, LLM_API_KEY, CUSTOM_API_URL and CUSTOM_API_KEY appear nowhere in the gateway repository. So the GPU example leases a runtime the Gateway never talks to. Found by reading both repositories - not run against a cluster.
Acceptance Criteria
-
examples/gpu/gpu.yaml- the Gateway's providername: ornithwithLLM_BASE_URLandLLM_API_KEYreaches no code in the gateway. Wire theornith-connectionSecret (url,apiKey) through a provider id the gateway registers, using that provider's<ID>_API_URLand<ID>_API_KEYvariables.ornithalso failsproviders.IsSupported, soupdateProvidersSummaryininternal/controller/gateway_controller.goleaves it out ofstatus.providerSummary. -
examples/gpu/README.mdsection "Consuming it from a Gateway" - same snippet, same fix. Say which path the provider URL needs: the connection Secret holds the barehttps://<id>-<port>.proxy.runpod.netthattoAllocationininternal/gpu/runpod.gobuilds, without/v1. -
README.md- the provider list ("plus any OpenAI-compatible endpoint viacustom") and the paragraph sayingcustomusesCUSTOM_API_URLandCUSTOM_API_KEYdescribe a provider the gateway does not have. Remove them or replace them with a recipe that works. -
examples/gateway-complete/gateway.yamlandexamples/gateway-complete/README.md- drop theCustomprovider block, its two keys in the commented Secret and "a custom endpoint" in the feature list, or replace them the same way. -
internal/providers/providers.go- the doc comment onCustomProvidermakes the same claim. Decide whether the operator keeps acceptingcustom, and keep the comment and the README consistent with that decision.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Nov 17, 2026
@claude can you work on this? use /domain-driven-design /clean-architecture /ponytail:ponytail
inference-gateway-maintainer commentedon Nov 17, 2026
Claude finished @edenreich's task in 1m 58s —— View job •
docs/issue-356-20261117-0700• [Create PR ➔](https://github.com/inference-gateway/operator/compare/main...docs/issue-356-20261117-0700?quick_pull=1&title=Issue%20%23356%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23356%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #361
providers/registry/registry_data.go,config/load.go)examples/gpu/gpu.yamlandexamples/gpu/README.mdREADME.mdcustom provider claimsexamples/gateway-completeCustomProviderand align doc commentDecision: I dropped
custom. The operator's provider list is now exactly the gateway's registry, soIsSupportedcan't approve a name the gateway ignores.GPU example: vLLM speaks the OpenAI API, so the example uses the
openaiprovider. The connection Secret holds the bare URL (no/v1), and the gateway's OpenAI base URL needs/v1. So the example loads the Secret intoORNITH_RUNTIME_URL, then setsOPENAI_API_URL: "$(ORNITH_RUNTIME_URL)/v1"with Kubernetes env expansion.OPENAI_API_KEYreadsapiKey. The README says this replaces api.openai.com on that Gateway.Other changes: I removed the
customtext from the root README and replaced it with a short recipe that links to the GPU example. Ingateway-completeI removed theCustomblock and its Secret keys, and the feature list now says "Mirelo" in place of "a custom endpoint".Checks:
TestIsSupported(now expectscustomto be false) andTestSupportedProvidersHasNoDuplicatespass.golangci-linton the providers package reports 0 issues. I haven't run the fulltask test(envtest) or tried this on a cluster.Follow-ups: the docs site repeats the
customclaim, so I opened inference-gateway/docs#1251. The issue is in QA on the Roadmap board.Behavior change: a Gateway that still lists
customis now left out ofstatus.providerSummary. The gateway never read those env vars anyway, so traffic doesn't change.• Branch
inference-gateway-releaser commentedon Nov 17, 2026
🎉 This issue has been resolved in version 0.37.1 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀