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

DestinationRule for *.local is not correct when cluster domain is changed by user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Maistra
    • None

      When setting mTLS to true as:

        security:
          dataPlane:
            mtls: true
      

      ServiceMesh deploys destinationrules for *.local as:

      $ oc get destinationrules.networking.istio.io  -n istio-system default
      NAME      HOST      AGE
      default   *.local   22m
      

      However, *.lcoal is not always correct because users can change the cluster domain.
      In fact, the resource template has the following setting in another place:

      spec:
        host: "kubernetes.default.svc.{{ .Values.global.proxy.clusterDomain }}"
      

      It should use the suffix of "{{ .Values.global.proxy.clusterDomain }}" in https://github.com/maistra/istio-operator/blob/maistra-2.4/resources/helm/v2.3/mesh-config/templates/enable-mesh-mtls.yaml

              rh-ee-mamyers Mayleigh Tjapkes
              rhn-support-knakayam Kenjiro Nakayama (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: