diff --git a/modules/ossm-federation-config-export.adoc b/modules/ossm-federation-config-export.adoc index 73650a8dea..96180b4d39 100644 --- a/modules/ossm-federation-config-export.adoc +++ b/modules/ossm-federation-config-export.adoc @@ -39,15 +39,18 @@ spec: alias: namespace: bookinfo name: ratings -# export any service in red-mesh-bookinfo namespace with label export-service=true + # export any service in red-mesh-bookinfo namespace with label export-service=true - type: LabelSelector labelSelector: namespace: red-mesh-bookinfo - Selector: + selector: matchLabels: - export-service: “true” - alias: # exported as if they were in the bookinfo namespace - namespace: bookinfo + export-service: "true" + aliases: # export all matching services as if they were in the bookinfo namespace + - namespace: "*" + name: "*" + alias: + namespace: bookinfo ---- .ExportServiceSet parameters @@ -67,23 +70,23 @@ spec: |spec: exportRules: - -type: + - type: |Type of rule that will govern the export for this service. The first matching rule found for the service will be used for the export. |`NameSelector`, `LabelSelector` |spec: exportRules: - -type: nameSelector - NameSelector: + - type: NameSelector + nameSelector: namespace: name: -|To create a `NameSelector` rule, specify the `namespace` of the service and the `name` of the service as defined in the `Deployment` resource. +|To create a `NameSelector` rule, specify the `namespace` of the service and the `name` of the service as defined in the `Service` resource. | |spec: exportRules: - -type: NameSelector - NameSelector: + - type: NameSelector + nameSelector: alias: namespace: name: @@ -92,27 +95,30 @@ spec: |spec: exportRules: - -type: LabelSelector - LabelSelector: + - type: LabelSelector + labelSelector: namespace: - Selector: + selector: matchLabels: -