Clean up additional refs to partition exports
This commit is contained in:
parent
9e05c21c7a
commit
a2fd30e514
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
||||
<CodeTabs heading="Partition exports configuration syntax" tabs={[ "HCL", "Kubernetes YAML", "JSON" ]}>
|
||||
<CodeTabs heading="Exported services configuration syntax" tabs={[ "HCL", "Kubernetes YAML", "JSON" ]}>
|
||||
<CodeBlockConfig>
|
||||
|
||||
```hcl
|
||||
|
|
|
@ -151,7 +151,7 @@
|
|||
"path": "connect/config-entries/mesh"
|
||||
},
|
||||
{
|
||||
"title": "Partition Exports",
|
||||
"title": "Exported Services",
|
||||
"path": "connect/config-entries/exported-services"
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue