mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-24 20:18:13 +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
|
@ -96,8 +96,8 @@ local ParseURL(rawURL) =
|
|||
local ComposeService(name, definition, additionalAliases=[]) =
|
||||
{
|
||||
[name]: definition {
|
||||
networks: {
|
||||
main: {
|
||||
networks+: {
|
||||
main+: {
|
||||
aliases: [name] + additionalAliases,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue