Set default protocol to http in TLS integration test

This commit is contained in:
Chris Piraino 2020-05-08 09:08:31 -05:00 committed by Kyle Havlovitz
parent a500262a77
commit 29afac01c8
1 changed files with 28 additions and 19 deletions

View File

@ -1,25 +1,34 @@
enable_central_service_config = true enable_central_service_config = true
config_entries { config_entries {
bootstrap { bootstrap = [
kind = "ingress-gateway" {
name = "ingress-gateway" kind = "proxy-defaults"
name = "global"
tls { config {
enabled = true
}
listeners = [
{
port = 9999
protocol = "http" protocol = "http"
services = [
{
name = "s1"
hosts = ["test.example.com"]
}
]
} }
] },
} {
kind = "ingress-gateway"
name = "ingress-gateway"
tls {
enabled = true
}
listeners = [
{
port = 9999
protocol = "http"
services = [
{
name = "s1"
hosts = ["test.example.com"]
}
]
}
]
}
]
} }