Description of problem: Routes are not getting created when using hostname without FQDN standard In OCP 3.11 we are able to create routes using hostname "pipequery" with out the FQDN standard. But in OCP4.7 we are not able to create the same routes. while creating we are getting the below error. The Route "httpd" is invalid: spec.host: Invalid value: "pipequery": host must conform to DNS 1123 naming conventions: [spec.host: Invalid value: "pipequery": should be a domain with at least two segments separated by dots] Version-Release number of selected component (if applicable): version 4.7.1 How reproducible: Using the below Reproduce steps we can reproduce this issue. Using the same step in both OCP 3.11 and 4.11 we will give us the difference. In 3.11 route will create with out any issue. But in 4.7 route will not create. Steps to Reproduce: 1. oc new-project demo 2. oc new-app httpd 3. oc expose svc/httpd --hostname=pipequery Actual results: The Route "httpd" is invalid: spec.host: Invalid value: "pipequery": host must conform to DNS 1123 naming conventions: [spec.host: Invalid value: "pipequery": should be a domain with at least two segments separated by dots] Expected results: Route should create with out any warning. Additional info:
*** This bug has been marked as a duplicate of bug 1957584 ***