2020-04-16 23:24:11 +00:00
|
|
|
enable_central_service_config = true
|
|
|
|
|
|
|
|
config_entries {
|
|
|
|
bootstrap = [
|
2020-05-06 21:09:24 +00:00
|
|
|
{
|
|
|
|
kind = "proxy-defaults"
|
|
|
|
name = "global"
|
|
|
|
config {
|
|
|
|
protocol = "http"
|
|
|
|
}
|
|
|
|
},
|
2020-04-16 23:24:11 +00:00
|
|
|
{
|
|
|
|
kind = "ingress-gateway"
|
|
|
|
name = "ingress-gateway"
|
|
|
|
|
|
|
|
listeners = [
|
|
|
|
{
|
|
|
|
port = 9999
|
|
|
|
protocol = "http"
|
|
|
|
services = [
|
|
|
|
{
|
|
|
|
name = "*"
|
|
|
|
}
|
|
|
|
]
|
2020-04-23 15:06:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
port = 9998
|
|
|
|
protocol = "http"
|
|
|
|
services = [
|
|
|
|
{
|
|
|
|
name = "s1"
|
|
|
|
hosts = ["test.example.com"]
|
|
|
|
}
|
|
|
|
]
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|