-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.12.0
-
None
-
Moderate
-
None
-
False
-
Description of problem:
$ oc expose service service-unsecure The Route "service-unsecure" is invalid: spec.to.kind: Invalid value: "": must reference a Service
Version-Release number of selected component (if applicable):
Client Version: 4.12.0-202211081039.p0.g854f807.assembly.stream-854f807 Kustomize Version: v4.5.7 Kubernetes Version: v1.25.0
How reproducible:
100%
Steps to Reproduce:
1. create service named "service-unsecure" 2. create route by executing command "oc expose service service-unsecure"
Actual results:
The Route "service-unsecure" is invalid: spec.to.kind: Invalid value: "": must reference a Service
Expected results:
the route should be generated
Additional info:
- duplicates
-
OCPBUGS-4189 Route CRD vs. OCP defaulting disparity
- Closed