proposed language about why there is no <CE>.meta.partition field

pull/11898/head
trujillo-adam 3 years ago
parent 2f4fae73d1
commit 65cb869c5b

@ -77,7 +77,6 @@ kind: Mesh
metadata: metadata:
name: mesh name: mesh
namespace: default namespace: default
partition: default
spec: spec:
transparentProxy: transparentProxy:
meshDestinationsOnly: true meshDestinationsOnly: true
@ -99,6 +98,8 @@ spec:
</Tab> </Tab>
</Tabs> </Tabs>
Note that the Kuberetes example does not include a `partition` field. Configuration entries are applied on Kubernetes using [custom resource definitions (CRD)](/docs/k8s/crds), which can only reference their own partition.
## Available Fields ## Available Fields
<ConfigEntryReference <ConfigEntryReference
@ -149,13 +150,7 @@ spec:
name: 'namespace', name: 'namespace',
enterprise: true, enterprise: true,
description: description:
'Must be set tot `default`. If running Consul Open Source, the namespace is ignored (see [Kubernetes Namespaces in Consul OSS](/docs/k8s/crds#consul-oss)). If running Consul Enterprise see [Kubernetes Namespaces in Consul Enterprise](/docs/k8s/crds#consul-enterprise) for additional information.', 'Must be set to `default`. If running Consul Open Source, the namespace is ignored (see [Kubernetes Namespaces in Consul OSS](/docs/k8s/crds#consul-oss)). If running Consul Enterprise see [Kubernetes Namespaces in Consul Enterprise](/docs/k8s/crds#consul-enterprise) for additional information.',
},
{
name: 'partition',
enterprise: true,
description:
'Specifies the admin partition in which the configuration will apply. The current partition is used if unspecified. Refer to the [Admin Partitions documentation](/docs/enterprise/admin-partitions) for details. The partitions parameter is not supported in Consul OSS.',
}, },
], ],
hcl: false, hcl: false,

@ -273,7 +273,6 @@ spec:
'Specifies the name of the admin partition in which the configuration entry applies. Refer to the [Admin Partitions documentation](/docs/enterprise/admin-partitions) for additional information.', 'Specifies the name of the admin partition in which the configuration entry applies. Refer to the [Admin Partitions documentation](/docs/enterprise/admin-partitions) for additional information.',
yaml: false, yaml: false,
}, },
{ {
name: 'Meta', name: 'Meta',
type: 'map<string|string>: nil', type: 'map<string|string>: nil',
@ -353,8 +352,7 @@ spec:
{ {
name: 'Protocol', name: 'Protocol',
type: 'string: ""', type: 'string: ""',
description: description: `The protocol for the upstream listener.<br><br>
`The protocol for the upstream listener.<br><br>
NOTE: The protocol of a service should ideally be configured via the NOTE: The protocol of a service should ideally be configured via the
[\`protocol\`](/docs/connect/config-entries/service-defaults#protocol) [\`protocol\`](/docs/connect/config-entries/service-defaults#protocol)
field of a field of a
@ -702,7 +700,7 @@ spec:
], ],
}, },
], ],
} },
]} ]}
/> />

@ -246,14 +246,16 @@ spec:
name: 'Namespace', name: 'Namespace',
type: `string: "default"`, type: `string: "default"`,
enterprise: true, enterprise: true,
description: 'Specifies the namespace in which the configuration entry will apply.', description:
'Specifies the namespace in which the configuration entry will apply.',
yaml: false, yaml: false,
}, },
{ {
name: 'Partition', name: 'Partition',
type: `string: "default"`, type: `string: "default"`,
enterprise: true, enterprise: true,
description: 'Specifies the admin partition in which the configuration entry will apply.', description:
'Specifies the admin partition in which the configuration entry will apply.',
yaml: false, yaml: false,
}, },
{ {
@ -355,20 +357,20 @@ spec:
enterprise: true, enterprise: true,
type: 'string: ""', type: 'string: ""',
description: description:
'Specifies the source namespace to resolve the service from.', 'Specifies the destination namespace to resolve the service from.',
}, },
{ {
name: 'Partition', name: 'Partition',
enterprise: true, enterprise: true,
type: 'string: ""', type: 'string: ""',
description: description:
'Specifies the source admin partition to resolve the service from.', 'Specifies the destination admin partition to resolve the service from.',
}, },
{ {
name: 'Datacenter', name: 'Datacenter',
type: 'string: ""', type: 'string: ""',
description: description:
'Specifies the source datacenter to resolve the service from.', 'Specifies the destination datacenter to resolve the service from.',
}, },
], ],
}, },

Loading…
Cancel
Save