mirror of https://github.com/hashicorp/consul
26 lines
337 B
HCL
26 lines
337 B
HCL
|
enable_central_service_config = true
|
||
|
|
||
|
config_entries {
|
||
|
bootstrap {
|
||
|
kind = "proxy-defaults"
|
||
|
name = "global"
|
||
|
|
||
|
config {
|
||
|
protocol = "http"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
bootstrap {
|
||
|
kind = "service-resolver"
|
||
|
name = "s2"
|
||
|
|
||
|
default_subset = "test"
|
||
|
|
||
|
subsets = {
|
||
|
"test" = {
|
||
|
only_passing = true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|