mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-01 11:26:29 +02:00
Add an environment variable to allow forcing either the stateful or the stateless authenticate flow. Split the existing integration test clusters "single" and "multi" into four new clusters: "single-stateful", "single-stateless", "multi-stateful", and "multi-stateless", so that the integration tests will run for both the stateful and the stateless authenticate flows. (The "kubernetes" cluster is not currently being run, so I've left it alone for now.)
20 lines
658 B
Jsonnet
20 lines
658 B
Jsonnet
local utils = import '../utils.libsonnet';
|
|
|
|
function(idp, authentication_flow) utils.Merge([
|
|
(import '../backends/fortio.libsonnet')().compose,
|
|
(import '../backends/httpdetails.libsonnet')().compose,
|
|
(import '../backends/mock-idp.libsonnet')(idp).compose,
|
|
(import '../backends/pomerium.libsonnet')('multi', idp, authentication_flow).compose,
|
|
(import '../backends/postgres.libsonnet')().compose,
|
|
(import '../backends/verify.libsonnet')('multi').compose,
|
|
(import '../backends/websocket-echo.libsonnet')().compose,
|
|
{
|
|
networks: {
|
|
main: {
|
|
ipam: {
|
|
config: [{subnet: "172.20.0.0/16"}],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
])
|