Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support subdomain field when host is unset
If a route has an empty spec.host and a nonempty spec.subdomain and the router has a domain configured, use the route's subdomain and router's domain as the route's host. * pkg/cmd/infra/router/router.go (RouterSelection): Add RouterDomain field. (Bind): Add a --router-domain flag and ROUTER_DOMAIN environment variable to specify the router's domain. (RouteUpdate): Set the route's spec.host using the route's subdomain and router's domain if the host is empty and the subdomain and domain are nonempty.
- Loading branch information