You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] README label selector and Orchestrator discovery manifests fail against the current controller and CRDs #274
Two README snippets do not work against the current controller and CRDs. The Monitoring and Status command kubectl get deployments,services,configmaps -l app=my-first-gateway relies on the comment "everything the operator creates for a Gateway is labeled app=", but the Gateway controller sets no labels on the Deployment or Service metadata - app=<name> is only on the pod template and in the Deployment and Service selectors (internal/controller/gateway_controller.go L446-472, L920-933). Only the routing ConfigMap, upstream Gateway, HTTPRoute and HPA carry app=<name> (L1102, L1223-1225, L1293-1295, L1533-1535), and the ServiceAccount uses app.kubernetes.io/* labels instead (L1631-1636). A fake-client Reconcile followed by a List with app=<name> returns 0 Deployments and 0 Services. Separately, the two Orchestrator discovery manifests omit fields the Orchestrator CRD requires - image, channels.telegram.enabled, channels.telegram.tokenSecretRef, gateway.url and agent.model (api/v1alpha1/orchestrator_types.go L31-35, L78-80, L90-91, L98-99; config/crd/bases/core.inference-gateway.com_orchestrators.yaml L708-712) - so the API server rejects them as written.
Acceptance Criteria
README.md L846-848: -l app=my-first-gateway matches no Deployment or Service (at most the <name>-routing ConfigMap when spec.routing.config is inline). Fix the comment and list the Deployment and Service by name instead, e.g. kubectl get deployment,service my-first-gateway, or add app=<name> to their metadata in the controller.
README.md L630-649 (A2A Service Discovery Configuration): the Orchestrator manifest has only spec.a2a; add the required image, channels.telegram (enabled, tokenSecretRef), gateway.url and agent.model, or present it as a partial spec fragment to merge into the Deploy an Orchestrator example.
README.md L758-774 (Orchestrator-side MCP discovery): same missing required fields, same fix.
internal/controller/gateway_controller.go:547-556 puts app=<name> only in the Deployment selector and pod template - the Deployment and Service metadata.labels are empty. Only the routing ConfigMap (L1334), upstream Gateway (L1404) and HPA (L1644) carry app=<name>; the ServiceAccount uses app.kubernetes.io/* (L1737). api/v1alpha1/orchestrator_types.go:31-35, 78-80, 90-91, 98-99 confirms image, channels.telegram.{enabled,tokenSecretRef}, gateway.url and agent.model are all required.
Changes
Monitoring and Status: corrected the comment, list the Deployment and Service by name (kubectl get deployment,service my-first-gateway), and narrowed the label query to the resources that actually carry app=<name>. Left kubectl logs -l app=my-first-gateway as-is - the pod template does carry the label.
Both Orchestrator snippets (A2A service discovery, Orchestrator-side MCP discovery): added the required image, channels.telegram, gateway.url and agent.model, using the same values as the Deploy an Orchestrator example.
Fixed in the docs rather than adding app=<name> to the Deployment/Service metadata in the controller - smaller diff, and no selector churn on existing resources. Say so if you would rather have the controller labels instead.
Tracked on Roadmap 2026 (project #8), Status set to QA.
| Branch | PR #280
Activity
edenreich commentedon Oct 4, 2026
@claude can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 4, 2026
Claude finished @edenreich's task in 1m 23s —— View job •
docs/issue-274-20261004-1136• [Create PR ➔](https://github.com/inference-gateway/operator/compare/main...docs/issue-274-20261004-1136?quick_pull=1&title=Issue%20%23274%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23274%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #280
What I verified
internal/controller/gateway_controller.go:547-556putsapp=<name>only in the Deployment selector and pod template - the Deployment and Servicemetadata.labelsare empty. Only the routing ConfigMap (L1334), upstream Gateway (L1404) and HPA (L1644) carryapp=<name>; the ServiceAccount usesapp.kubernetes.io/*(L1737).api/v1alpha1/orchestrator_types.go:31-35, 78-80, 90-91, 98-99confirmsimage,channels.telegram.{enabled,tokenSecretRef},gateway.urlandagent.modelare all required.Changes
kubectl get deployment,service my-first-gateway), and narrowed the label query to the resources that actually carryapp=<name>. Leftkubectl logs -l app=my-first-gatewayas-is - the pod template does carry the label.Orchestratorsnippets (A2A service discovery, Orchestrator-side MCP discovery): added the requiredimage,channels.telegram,gateway.urlandagent.model, using the same values as the Deploy an Orchestrator example.Fixed in the docs rather than adding
app=<name>to the Deployment/Service metadata in the controller - smaller diff, and no selector churn on existing resources. Say so if you would rather have the controller labels instead.Tracked on Roadmap 2026 (project #8), Status set to QA.
| Branch | PR #280
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.27.1 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀