2023-03-28 22:48:58 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 22:48:58 +00:00
|
|
|
|
2021-08-24 12:48:30 +00:00
|
|
|
services {
|
|
|
|
name = "ingress-gateway"
|
|
|
|
kind = "ingress-gateway"
|
|
|
|
|
|
|
|
proxy {
|
|
|
|
config {
|
|
|
|
envoy_extra_static_clusters_json = <<EOF
|
|
|
|
{
|
|
|
|
"name": "sds-cluster",
|
|
|
|
"connect_timeout": "5s",
|
2023-12-14 20:08:53 +00:00
|
|
|
"typed_extension_protocol_options": {
|
|
|
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
|
|
|
"explicit_http_config": {
|
|
|
|
"http2_protocol_options": {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-08-24 12:48:30 +00:00
|
|
|
"load_assignment": {
|
|
|
|
"cluster_name": "sds-cluster",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lb_endpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socket_address": {
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"port_value": 1234
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|