Routev1 default host
When no host and subdomain is specified then a generated name is created <route_name>-
exampe: apiVersion: route.openshift.io/v1 kind: Route metadata: name: aaaaabbbbbcccccdddddeeeeefffffggggghhhhhiiiiijjjjjkkkkklllll namespace: mm-test spec: to: kind: Service name: aaaaabb weight: 100 wildcardPolicy: None
Error: the Route "aaaaabbbbbcccccdddddeeeeefffffggggghhhhhiiiiijjjjjkkkkklllll" is invalid: spec.host: Invalid value: "aaaaabbbbbcccccdddddeeeeefffffggggghhhhhiiiiijjjjjkkkkklllll-mm-test.apps.my.server.domain.org": must be no more than 63 characters
However this 63 character check is applied only for the <route_name>-
Length of 63 characters is limiting for <route_name>-<project_name> which can be easily hit as Openshift allows project_name up to 63 characters.
If the dash is changed to dot in the host generation, the route_name and project_name would be recognized as two subdomains with limit 63 characters for each.