078f4cf5bb
* Add integration test for central config; fix central config WIP * Add integration test for central config; fix central config WIP * Set proxy protocol correctly and begin adding upstream support * Add upstreams to service config cache key and start new notify watcher if they change. This doesn't update the tests to pass though. * Fix some merging logic get things working manually with a hack (TODO fix properly) * Simplification to not allow enabling sidecars centrally - it makes no sense without upstreams anyway * Test compile again and obvious ones pass. Lots of failures locally not debugged yet but may be flakes. Pushing up to see what CI does * Fix up service manageer and API test failures * Remove the enable command since it no longer makes much sense without being able to turn on sidecar proxies centrally * Remove version.go hack - will make integration test fail until release * Remove unused code from commands and upstream merge * Re-bump version to 1.5.0
26 lines
456 B
HCL
26 lines
456 B
HCL
enable_central_service_config = true
|
|
config_entries {
|
|
bootstrap {
|
|
kind = "proxy-defaults"
|
|
name = "global"
|
|
config {
|
|
envoy_prometheus_bind_addr = "0.0.0.0:1234"
|
|
}
|
|
}
|
|
bootstrap {
|
|
kind = "service-defaults"
|
|
name = "s1"
|
|
protocol = "http"
|
|
connect {
|
|
sidecar_proxy = true
|
|
}
|
|
}
|
|
bootstrap {
|
|
kind = "service-defaults"
|
|
name = "s2"
|
|
protocol = "http"
|
|
connect {
|
|
sidecar_proxy = true
|
|
}
|
|
}
|
|
} |