open-consul/agent/config/testdata
Luke Kysow d21f793b74
peering: add config to enable/disable peering (#13867)
* peering: add config to enable/disable peering

Add config:

```
peering {
  enabled = true
}
```

Defaults to true. When disabled:
1. All peering RPC endpoints will return an error
2. Leader won't start its peering establishment goroutines
3. Leader won't start its peering deletion goroutines
2022-07-22 15:20:21 -07:00
..
TestRuntimeConfig_Sanitize.golden peering: add config to enable/disable peering (#13867) 2022-07-22 15:20:21 -07:00
full-config.hcl peering: add config to enable/disable peering (#13867) 2022-07-22 15:20:21 -07:00
full-config.json peering: add config to enable/disable peering (#13867) 2022-07-22 15:20:21 -07:00