mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 00:10:45 +02:00
add integration test for https IP address route (#4476)
Update the integration test libsonnet templates to assign a fixed IP address to the trusted-httpdetails service. This requires also assigning a fixed IP subnet to the docker network. Configure a route with a 'to' URL using https and this fixed IP address. Add a corresponding certificate with the IP address. Finally, add a test case that makes a request to this route.
This commit is contained in:
parent
c6b7927e1c
commit
379abecab1
11 changed files with 217 additions and 115 deletions
|
@ -10,7 +10,11 @@ function(idp) utils.Merge([
|
|||
(import '../backends/websocket-echo.libsonnet')().compose,
|
||||
{
|
||||
networks: {
|
||||
main: {},
|
||||
main: {
|
||||
ipam: {
|
||||
config: [{subnet: "172.20.0.0/16"}],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue