summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-11 16:27:06 -0600
committermo khan <mo@mokhan.ca>2025-05-11 21:21:38 -0600
commit18816e8d858d3ba99e46dd59c68f45d5d2dde9d4 (patch)
tree1bc27f3b980d9ff15b8f95905f3f005928e925cb
parent9a6492645993b32a86e23d2bc432e43187ec579c (diff)
test: indicate temporary testing routes
-rw-r--r--envoy.yml8
-rw-r--r--test/integration/container_test.go2
2 files changed, 5 insertions, 5 deletions
diff --git a/envoy.yml b/envoy.yml
index edcf5da..da0e46a 100644
--- a/envoy.yml
+++ b/envoy.yml
@@ -98,10 +98,10 @@ static_resources:
pass_through_matcher:
- name: ":path"
string_match:
- prefix: "/.well-known/"
+ prefix: "/.well-known/" # temporary
- name: ":path"
string_match:
- prefix: "/oauth/"
+ prefix: "/oauth/" # temporary
- name: ":path"
string_match:
suffix: ".html"
@@ -176,13 +176,13 @@ static_resources:
domains: ["*"]
routes:
- match:
- prefix: "/.well-known/"
+ prefix: "/.well-known/" # temporary
route:
cluster: oidc
timeout: 5s
auto_host_rewrite: true
- match:
- prefix: "/oauth/"
+ prefix: "/oauth/" # temporary
route:
cluster: oidc
timeout: 5s
diff --git a/test/integration/container_test.go b/test/integration/container_test.go
index 3c0ffaa..becad4a 100644
--- a/test/integration/container_test.go
+++ b/test/integration/container_test.go
@@ -57,7 +57,7 @@ func TestContainer(t *testing.T) {
testcontainers.WithEnv(map[string]string{
"APP_ENV": "test",
"BIND_ADDR": ":8080",
- "DEBUG": "true",
+ "DEBUG": env.Fetch("DEBUG", ""),
"HMAC_SESSION_SECRET": "secret",
"OAUTH_CLIENT_ID": srv.MockOIDC.Config().ClientID,
"OAUTH_CLIENT_SECRET": srv.MockOIDC.Config().ClientSecret,