Skip to content

Commit 7eab064

Browse files
dilyevskyclaude
andcommitted
[gateway] add SNI to xDS bootstrap TLS config
Dedicated backplane Envoy instances connect to their project apiserver's xDS server via Contour ingress on port 443. Contour uses SNI to route TLS connections to the correct HTTPProxy backend. Without SNI set in the bootstrap UpstreamTlsContext, Contour cannot route the connection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a68436d commit 7eab064

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/gateway/xds/bootstrap/bootstrap.yaml.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ static_resources:
165165
name: envoy.transport_sockets.tls
166166
typed_config:
167167
"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
168+
sni: {{ .XdsServer.Address }}
168169
common_tls_context:
169170
validation_context:
170171
trusted_ca:

0 commit comments

Comments
 (0)