From e964cb37cf6fc0e0c0e58b63b17c822afda2b863 Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Tue, 14 Dec 2021 12:10:30 -0800 Subject: [PATCH] docs: Update exported-services page to include required Name field --- .../docs/connect/config-entries/exported-services.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/content/docs/connect/config-entries/exported-services.mdx b/website/content/docs/connect/config-entries/exported-services.mdx index c4dc21213..f53663c43 100644 --- a/website/content/docs/connect/config-entries/exported-services.mdx +++ b/website/content/docs/connect/config-entries/exported-services.mdx @@ -42,6 +42,7 @@ Configure the following parameters to define a `exported-services` configuration ```hcl Kind = "exported-services" Partition = "" +Name = "" Services = [ { Name = "" @@ -61,6 +62,7 @@ Services = [ apiVersion: consul.hashicorp.com/v1alpha1 Kind: ExportedServices Partition: +Name: Services: - Consumers: - Partition: @@ -73,6 +75,7 @@ Services: ```json "Kind": "exported-services", "Partition": "", +"Name": "", "Services": [ { "Consumers": [ @@ -96,6 +99,7 @@ The following table describes the parameters associated with the `exported-servi | --- | --- | --- | --- | | `Kind` | String value that enables the configuration entry. The value should always be `exported-services` (HCL and JSON) or `ExportedServices` (YAML) | Required | None | | `Partition` | String value that specifies the name of the partition that contains the services you want to export. | Required | None | +| `Name` | String value that specifies the name of the partition that contains the services you want to export. | Required | None | | `Services` | List of objects that specify which services to export. See [`Services`](#services) for details. | Required | None| | `Meta` | Object that defines a map of the max 64 key/value pairs. | Optional | None | @@ -117,6 +121,7 @@ The following example configures the agent to export the `billing` service from ```hcl Kind = "exported-services" Partition = "finance" +Name = "finance" Services = [ { @@ -149,6 +154,7 @@ Services = [ ```yaml Kind: exported-services Partition: finance +Name: finance Services: - Consumers: - Partition: frontend @@ -167,6 +173,7 @@ Services: ```json "Kind": "exported-services", "Partition": "finance", + "Name": "finance", "Services": [ { "Consumers": [