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

[RFE] Support for Configuring ImportedServiceSets with Label Selectors

XMLWordPrintable

    • False
    • None
    • False

      I am working with a customer who would like to use ImportedServiceSets with LabelSelectors. 

      This feature will help them to adopt Security Team CISO.

      The yaml would look as follows: 

      kind: ImportedServiceSet
      apiVersion: federation.maistra.io/v1
      metadata:
        name: red-mesh
        namespace: green-mesh-system
      spec:
        importRules:
        - type: LabelSelector
          labelSelector:
            namespace: red-mesh-bookinfo
            selector:
              matchLabels:
                export-service: "true"

      As per the customer they have suggested to add of the labels in the ExportServiceSet structure and to do the same in the structure in the ImportServiceSet, that will permit in the CRD to add the capabilities of having the labels to filter on them.

      I have verified that only NameSelector is supported at this point. 

      $ oc explain importedservicesets.spec.importRules | grep type -A 2
         type    <string> -required-
           Type of rule. Only NameSelector type is supported.

       

              rhn-support-pyadav Prachi Yadav
              rhn-support-ssadhale Saurabh Sadhale (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: