Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-2702

Bad description of Federation exportRules/importRules type in API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • maistra-2.1.1
    • maistra-2.1.0
    • api
    • None
    • Sprint 13

      $ oc explain exportedserviceset.spec.exportRules.type
      KIND:     ExportedServiceSet
      VERSION:  federation.maistra.io/v1
      
      FIELD:    type <string>
      
      DESCRIPTION:
           Type of rule. One of Name or Label.

      The description is incorrect. Type can be either NameSelector or LabelSelector.

      Similar problem in ImportedServiceSet:

      $ oc explain importedserviceset.spec.importRules.type
      ...
      DESCRIPTION:
           Type of rule. Only Name type is supported.
      

      Should be NameSelector.

              mluksa@redhat.com Marko Luksa
              mluksa@redhat.com Marko Luksa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: