2020-04-29 02:58:35 -07:00
|
|
|
config_entries {
|
2020-05-08 09:08:31 -05:00
|
|
|
bootstrap = [
|
|
|
|
{
|
|
|
|
kind = "proxy-defaults"
|
|
|
|
name = "global"
|
|
|
|
config {
|
2020-05-01 13:55:13 -07:00
|
|
|
protocol = "http"
|
2020-04-29 02:58:35 -07:00
|
|
|
}
|
2020-05-08 09:08:31 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
kind = "ingress-gateway"
|
|
|
|
name = "ingress-gateway"
|
|
|
|
|
|
|
|
tls {
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
|
|
|
|
listeners = [
|
2020-07-07 10:43:04 -05:00
|
|
|
{
|
2020-10-01 09:19:14 -05:00
|
|
|
port = 9998
|
2020-07-07 10:43:04 -05:00
|
|
|
protocol = "http"
|
|
|
|
services = [
|
|
|
|
{
|
|
|
|
name = "s1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-05-08 09:08:31 -05:00
|
|
|
{
|
2020-10-01 09:19:14 -05:00
|
|
|
port = 9999
|
2020-05-08 09:08:31 -05:00
|
|
|
protocol = "http"
|
|
|
|
services = [
|
|
|
|
{
|
2020-10-01 09:19:14 -05:00
|
|
|
name = "s1"
|
2020-05-08 09:08:31 -05:00
|
|
|
hosts = ["test.example.com"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2020-04-29 02:58:35 -07:00
|
|
|
}
|