diff --git a/website/content/docs/connect/config-entries/exported-services.mdx b/website/content/docs/connect/config-entries/exported-services.mdx index cf1a028d0f..3965f657a6 100644 --- a/website/content/docs/connect/config-entries/exported-services.mdx +++ b/website/content/docs/connect/config-entries/exported-services.mdx @@ -6,7 +6,9 @@ description: >- Settings in this configuration entry can apply to services in any namespace of the specified partition. Write access to the mesh resource is required. --- -# Exported Services +# 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. @@ -61,13 +63,14 @@ Services = [ ```yaml apiVersion: consul.hashicorp.com/v1alpha1 Kind: ExportedServices -Partition: -Name: -Services: -- Consumers: - - Partition: - Name: - Namespace: +metadata: + name: +spec: + services: + - name: + namespace: + consumers: + - partition: ``` @@ -152,19 +155,21 @@ Services = [ ```yaml +apiVersion: consul.hashicorp.com/v1alpha1 Kind: ExportedServices -Partition: finance -Name: finance -Services: -- Consumers: - - Partition: frontend - - Partition: backend - Name: billing - Namespace: default -- Consumers: - - Partition: monitoring - Name: '*' - Namespace: '*' +metadata: + name: finance +spec: + services: + - name: mesh-gateway + namespace: default + consumers: + - partition: default + - name: billing + namespace: default + consumers: + - partition: frontend + - partition: backend ``` diff --git a/website/content/docs/k8s/crds/index.mdx b/website/content/docs/k8s/crds/index.mdx index 1c8eded43e..d0ba9ff7b8 100644 --- a/website/content/docs/k8s/crds/index.mdx +++ b/website/content/docs/k8s/crds/index.mdx @@ -23,7 +23,7 @@ via Kubernetes Custom Resources. Configuration entries provide cluster-wide defa You can specify the following values in the `kind` field. Click on a configuration entry to view its documentation: - [`Mesh`](/docs/connect/config-entries/mesh) (requires Consul 1.10.0+) -- [`ExportedServices`](/docs/connect/config-entries/exported-services) +- [`ExportedServices`](/docs/connect/config-entries/exported-services) - [`ProxyDefaults`](/docs/connect/config-entries/proxy-defaults) - [`ServiceDefaults`](/docs/connect/config-entries/service-defaults) - [`ServiceSplitter`](/docs/connect/config-entries/service-splitter)