File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,25 @@ func TestRouter(t *testing.T) {
195
195
},
196
196
routerUrl : "0.0.0.0" ,
197
197
},
198
+ {
199
+ name : "reencrypt-InsecureEdgePolicy" ,
200
+ serviceName : "example-reencrypt" ,
201
+ endpoints : []kapi.EndpointSubset {httpsEndpoint },
202
+ routeAlias : "www.example.com" ,
203
+ endpointEventType : watch .Added ,
204
+ routeEventType : watch .Added ,
205
+ protocol : "http" ,
206
+ expectedResponse : tr .HelloPodSecure ,
207
+ routeTLS : & routeapi.TLSConfig {
208
+ Termination : routeapi .TLSTerminationReencrypt ,
209
+ Certificate : tr .ExampleCert ,
210
+ Key : tr .ExampleKey ,
211
+ CACertificate : tr .ExampleCACert ,
212
+ DestinationCACertificate : tr .ExampleCACert ,
213
+ InsecureEdgeTerminationPolicy : routeapi .InsecureEdgeTerminationPolicyAllow ,
214
+ },
215
+ routerUrl : "0.0.0.0" ,
216
+ },
198
217
{
199
218
name : "reencrypt-destcacert" ,
200
219
serviceName : "example-reencrypt-destcacert" ,
You can’t perform that action at this time.
0 commit comments