pomerium/integration/tpl/deployments/single.libsonnet
Kenneth Jenkins 0d1744a31a
add integration test for https IP address route (#4477)
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.
2023-08-18 09:59:52 -07:00

20 lines
618 B
Jsonnet

local utils = import '../utils.libsonnet';
function(idp) utils.Merge([
(import '../backends/fortio.libsonnet')().compose,
(import '../backends/httpdetails.libsonnet')().compose,
(import '../backends/mock-idp.libsonnet')(idp).compose,
(import '../backends/pomerium.libsonnet')('single', idp).compose,
(import '../backends/postgres.libsonnet')().compose,
(import '../backends/verify.libsonnet')('single').compose,
(import '../backends/websocket-echo.libsonnet')().compose,
{
networks: {
main: {
ipam: {
config: [{subnet: "172.20.0.0/16"}],
},
},
},
},
])