Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
boruszak committed Jan 31, 2023
1 parent 99012ae commit 0ffebd8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions website/content/docs/connect/config-entries/service-splitter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The following list outlines field hierarchy, data types, and requirements in a s
<Tabs>

<Tab heading="HCL" group="hcl">

- [`Kind`](#kind): string | required
- [`Name`](#name): string | required
- [`Namespace`](#namespace): string | optional <Enterprise />
Expand All @@ -26,9 +27,11 @@ The following list outlines field hierarchy, data types, and requirements in a s
- [`Partition`](#splits-partition): string | optional <Enterprise />
- [`RequestHeaders`](#splits-requestheaders): map | optional
- [`ResponseHeaders`](#splits-responseheaders): map | optional
-
</Tab>

<Tab heading="YAML" group="yaml">

- [`apiVersion`](#apiVersion): string | required
- [`kind`](#kind): string | required
- [`metadata`](#metadata): object | required
Expand All @@ -46,25 +49,29 @@ The following list outlines field hierarchy, data types, and requirements in a s

</Tab>
</Tabs>

## Specification

This section provides details about the fields you can configure in a `service-splitter` configuration entry.

<Tabs>

<Tab heading="HCL" group="hcl">

### Kind

Specifies the kind of configuration entry. Must be set to `service-splitter`.
Data type: string
Default: none
Required: required

### Name

Names the configuration entry in Consul..
Data type: string
Default: none
Required: required

### Namespace <Enterprise />

Specifies the namespace the configuration entry applies to.
Expand Down Expand Up @@ -256,6 +263,7 @@ Required: optional

The examples in this section demonstrate common configurations for `service-splitter` configuration entries. When every field is utilized, a `service-splitter` configuration entry takes the following form:

```hcl
Kind = "service-splitter" ## string | required
Name = “name” ## string | required
Namespace = “namespace” ## string
Expand Down Expand Up @@ -298,7 +306,7 @@ Splits = [ ## list | required
"X-Web-Version": "to-v2"
},
]

```

### Two subsets of same service

Expand Down Expand Up @@ -483,5 +491,4 @@ spec:
}
```

</CodeTabs>

</CodeTabs>

0 comments on commit 0ffebd8

Please sign in to comment.