Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-848

istio-system gateway Routes "InvalidHost", "must be no more than 63 characters"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 1.18.0, 1.19.0
    • Operator
    • None
    • False
    • False

      Following https://docs.openshift.com/container-platform/4.9/serverless/admin_guide/serverless-ossm-setup.html to install ServiceMesh/Serverless, with ServiceMesh installed in `istio-system` namespace,

      some of the Routes created in `istio-system` are invalid

      oc get route -n istio-system
      ...
      knative-serving-knative-ingress-gateway-525eca1d5089dbdc   InvalidHost                                                                                                             istio-ingressgateway   https   passthrough          None
      knative-serving-knative-local-gateway-525eca1d5089dbdc     InvalidHost                                                                                                             istio-ingressgateway   http2                        None
      
      ...
      

      with an error:

      host name validation errors: spec.host: Invalid value: "knative-serving-knative-ingress-gateway-525eca1d5089dbdc-istio-system.apps.<redacted/>":
              must be no more than 63 characters
      

      The "knative-serving-knative-ingress-gateway-525eca1d5089dbdc-istio-system" part is longer than 63 characters.

              rhn-support-knakayam Kenjiro Nakayama (Inactive)
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: