fix: Pass Subdomains field through to HAProxy InstanceRoute
The reconciliation was building InstanceRoutes without setting the Subdomains field, so all services were exact-match only — breaking wildcard subdomain routing for *.cloud.payne.io and *.cloud2.payne.io. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -44,6 +44,7 @@ func (api *API) reconcileNetworking() {
|
||||
Name: svc.Domain,
|
||||
Domain: svc.Domain,
|
||||
BackendIP: extractHost(svc.Backend.Address),
|
||||
Subdomains: svc.Subdomains,
|
||||
})
|
||||
case services.BackendHTTP:
|
||||
httpRoutes = append(httpRoutes, haproxy.HTTPRoute{
|
||||
|
||||
Reference in New Issue
Block a user