Skip to content

Commit 338a899

Browse files
committed
remove local testing setup
1 parent af649df commit 338a899

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

internal/mode/static/state/dataplane/configuration.go

+2-19
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,8 @@ func BuildConfiguration(
4848
certBundles := buildCertBundles(g.ReferencedCaCertConfigMaps, backendGroups)
4949
telemetry := buildTelemetry(g)
5050
baseHTTPConfig := buildBaseHTTPConfig(g)
51-
tlsServers := []Layer4VirtualServer{
52-
{
53-
Hostname: "app.example.com",
54-
UpstreamName: "backend1",
55-
Port: 443,
56-
},
57-
}
58-
streamUpstreams := []Upstream{
59-
{
60-
Name: "backend1",
61-
ErrorMsg: "error",
62-
Endpoints: []resolver.Endpoint{
63-
{
64-
Address: "10.244.0.7",
65-
Port: 8443,
66-
},
67-
},
68-
},
69-
}
51+
var tlsServers []Layer4VirtualServer
52+
var streamUpstreams []Upstream
7053

7154
config := Configuration{
7255
HTTPServers: httpServers,

0 commit comments

Comments
 (0)