Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-174

Broken host name link in destination rule when host name has a wildcard '*' in a specific case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • OSSM 1.1.0
    • OSSM 1.1.0
    • Kiali
    • +
    • Service Mesh 1.1.0

      If a destination rule is configured with hostname containing a wildcard '*'
      ( Ex: *.bookinfo.svc.cluster.local ), the link is visible on overview page of the istio config.
      Clicking on the link displays below message :
      Sorry, there was a problem. Try a refresh or navigate to a different page.

      Doc example:
      https://kiali.io/documentation/validations/#_kia0206_policy_enabling_namespace_wide_mtls_is_missing

      Example Details:

      apiVersion: "networking.istio.io/v1alpha3"
      kind: "DestinationRule"
      metadata:
      name: "enable-mtls"
      namespace: "bookinfo"
      spec:
      host: "*.bookinfo.svc.cluster.local"
      trafficPolicy:
      tls:
      mode: ISTIO_MUTUAL

      Steps to reproduce:
      -Create the destination rule with above example
      -Login to kiali
      -Navigate to Istio config menu
      -Click on the destination rule
      -On overview page, click on the hostname link

      Other observations:
      1) If the hostname is just "*.local" , the link is not created
      2) The normal hostname link ex: " mongodb.bookinfo.svc.cluster.local " works correctly

              xcanalma Xavier Canal Masjuan (Inactive)
              skondkar1@redhat.com Sunil Kondkar (Inactive)
              Jupiter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: