open-consul/test/integration/connect/envoy/case-cfg-resolver-dc-failov.../primary/config_entries.hcl

26 lines
337 B
HCL

enable_central_service_config = true
config_entries {
bootstrap {
kind = "service-defaults"
name = "s2"
protocol = "http"
mesh_gateway {
mode = "none"
}
}
bootstrap {
kind = "service-resolver"
name = "s2"
failover = {
"*" = {
datacenters = ["secondary"]
}
}
}
}