mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 22:34:55 +00:00
1eef096dfe
- cut down on extra node metadata transmission - split the golden file generation to compare all envoy version
44 lines
633 B
HCL
44 lines
633 B
HCL
enable_central_service_config = true
|
|
|
|
config_entries {
|
|
bootstrap {
|
|
kind = "proxy-defaults"
|
|
name = "global"
|
|
|
|
config {
|
|
protocol = "http"
|
|
}
|
|
}
|
|
|
|
bootstrap {
|
|
kind = "service-resolver"
|
|
name = "s2"
|
|
|
|
subsets = {
|
|
"v1" = {
|
|
filter = "Service.Meta.version == v1"
|
|
}
|
|
|
|
"v2" = {
|
|
filter = "Service.Meta.version == v2"
|
|
}
|
|
}
|
|
}
|
|
|
|
bootstrap {
|
|
kind = "service-splitter"
|
|
name = "s2"
|
|
|
|
splits = [
|
|
{
|
|
weight = 50,
|
|
service_subset = "v2"
|
|
},
|
|
{
|
|
weight = 50,
|
|
service_subset = "v1"
|
|
},
|
|
]
|
|
}
|
|
}
|