Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-4575

[MicroShift] failed to create route by "oc expose service" command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 4.12.0
    • MicroShift
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      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:

       

              ggiguash@redhat.com Gregory Giguashvili
              rhn-support-hongli Hongan Li
              Hongan Li Hongan Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: