mirror of https://github.com/hashicorp/consul
Formatting spaces between keys in Config entries (#8116)
* Formatting spaces between keys in Config entries * Service Router spacing * Missing Camel Case proxy-defaults * Remove extra spaces service-splitter * Remove extra spsaces service-resolver * More spaces a la hclfmt * Nice! * Oh joy! * More spaces on proxy-defaults * Update website/pages/docs/agent/config-entries/proxy-defaults.mdx Co-authored-by: Chris Piraino <cpiraino@hashicorp.com>pull/8126/head
parent
2c31673c03
commit
fb1f043cdc
|
@ -19,10 +19,10 @@ one global entry is supported.
|
|||
Set the default protocol for all sidecar proxies in the default namespace:
|
||||
|
||||
```hcl
|
||||
kind = "proxy-defaults"
|
||||
name = "global"
|
||||
namespace = "default"
|
||||
config {
|
||||
Kind = "proxy-defaults"
|
||||
Name = "global"
|
||||
Namespace = "default"
|
||||
Config {
|
||||
protocol = "http"
|
||||
}
|
||||
```
|
||||
|
@ -30,9 +30,9 @@ config {
|
|||
Set proxy-specific defaults :
|
||||
|
||||
```hcl
|
||||
kind = "proxy-defaults"
|
||||
name = "global"
|
||||
config {
|
||||
Kind = "proxy-defaults"
|
||||
Name = "global"
|
||||
Config {
|
||||
local_connect_timeout_ms = 1000
|
||||
handshake_timeout_ms = 10000
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue