27 lines
402 B
HCL
27 lines
402 B
HCL
|
config_entries {
|
||
|
bootstrap {
|
||
|
kind = "proxy-defaults"
|
||
|
name = "global"
|
||
|
|
||
|
config {
|
||
|
protocol = "http"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
bootstrap {
|
||
|
kind = "service-resolver"
|
||
|
name = "s2"
|
||
|
default_subset = "v2"
|
||
|
|
||
|
subsets = {
|
||
|
"v1" = {
|
||
|
filter = "Service.Meta.version == v1"
|
||
|
}
|
||
|
|
||
|
"v2" = {
|
||
|
filter = "Service.Meta.version == v2"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|