update comments to accurately reflect validation
@@ -30,9 +30,8 @@ type RouteSpec struct {
//Ports []RoutePort `json:"ports,omitempty"`
// Host is an alias/DNS that points to the service. Optional
- // Can be host or host:port
- // host and port are combined to follow the net/url URL struct
- Host string `json:"host" description:"optional: alias/dns that points to the service, can be host or host:port"`
+ // Must follow DNS952 subdomain conventions.
+ Host string `json:"host" description:"optional: alias/dns that points to the service, must follow DNS 952 subdomain conventions"`
// Path that the router watches for, to route traffic for to the service. Optional
Path string `json:"path,omitempty" description:"optional: path that the router watches to route traffic to the service"`
