mirror of https://github.com/hashicorp/consul
27 lines
399 B
HCL
27 lines
399 B
HCL
|
config_entries {
|
||
|
bootstrap = [
|
||
|
{
|
||
|
kind = "proxy-defaults"
|
||
|
name = "global"
|
||
|
|
||
|
config {
|
||
|
protocol = "tcp"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
kind = "exported-services"
|
||
|
name = "default"
|
||
|
services = [
|
||
|
{
|
||
|
name = "s2"
|
||
|
consumers = [
|
||
|
{
|
||
|
peer_name = "alpha-to-primary"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|