From e91509383fb9a7175092d870e2a67d1e989f41b9 Mon Sep 17 00:00:00 2001 From: freddygv Date: Sat, 4 Dec 2021 15:16:15 -0700 Subject: [PATCH] Clean up additional refs to partition exports --- agent/consul/config_endpoint.go | 2 +- agent/consul/config_replication.go | 2 +- .../docs/connect/config-entries/exported-services.mdx | 8 ++++---- website/data/docs-nav-data.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/agent/consul/config_endpoint.go b/agent/consul/config_endpoint.go index 97a2c72a7d..0fb5a6ef8d 100644 --- a/agent/consul/config_endpoint.go +++ b/agent/consul/config_endpoint.go @@ -594,7 +594,7 @@ func (c *ConfigEntry) ResolveServiceConfig(args *structs.ServiceConfigRequest, r } func gateWriteToSecondary(targetDC, localDC, primaryDC, kind string) error { - // Partition exports are gated from interactions from secondary DCs + // ExportedServices entries are gated from interactions from secondary DCs // because non-default partitions cannot be created in secondaries // and services cannot be exported to another datacenter. if kind != structs.ExportedServices { diff --git a/agent/consul/config_replication.go b/agent/consul/config_replication.go index 8c9c1377b8..243cd8bb30 100644 --- a/agent/consul/config_replication.go +++ b/agent/consul/config_replication.go @@ -92,7 +92,7 @@ func (s *Server) reconcileLocalConfig(ctx context.Context, configs []structs.Con defer ticker.Stop() for i, entry := range configs { - // Partition exports only apply to the primary datacenter. + // Exported services only apply to the primary datacenter. if entry.GetKind() == structs.ExportedServices { continue } diff --git a/website/content/docs/connect/config-entries/exported-services.mdx b/website/content/docs/connect/config-entries/exported-services.mdx index 2e7bed5c19..c4dc21213d 100644 --- a/website/content/docs/connect/config-entries/exported-services.mdx +++ b/website/content/docs/connect/config-entries/exported-services.mdx @@ -1,12 +1,12 @@ --- layout: docs -page_title: 'Configuration Entry Kind: Partition Exports' +page_title: 'Configuration Entry Kind: Exported Services' description: >- The exported-services configuration entry enables you to export services from a single file. Settings in this configuration entry can apply to services in any namespace of the specified partition. Write access to the mesh resource is required. --- -# Partition Exports +# Exported Services This topic describes the `exported-services` configuration entry type. The `exported-services` configuration entry enables Consul to export service instances to other admin partitions from a single file. This enables your services to be networked across admin partitions. See [Admin Partitions](/docs/enterprise/admin-partitions) for additional information. @@ -21,7 +21,7 @@ You can configure the settings defined in the `exported-services` configuration ## Requirements * A Consul Enterprise binary -* A partition that corresponds to the configuration entry. As in, the partition exports config entry for partition "frontend" requires that the "frontend" partition exists +* A partition that corresponds to the configuration entry. As in, the exported services config entry for partition "frontend" requires that the "frontend" partition exists ## Usage @@ -36,7 +36,7 @@ You can configure the settings defined in the `exported-services` configuration Configure the following parameters to define a `exported-services` configuration entry: - + ```hcl diff --git a/website/data/docs-nav-data.json b/website/data/docs-nav-data.json index 1d0a3fb6cc..47f87740b9 100644 --- a/website/data/docs-nav-data.json +++ b/website/data/docs-nav-data.json @@ -151,7 +151,7 @@ "path": "connect/config-entries/mesh" }, { - "title": "Partition Exports", + "title": "Exported Services", "path": "connect/config-entries/exported-services" }, {