templates/jmap: drafts3 image + JMAP_REBASE_SESSION_URLS
Some checks failed
CI/CD / lint (pull_request) Successful in 1m14s
CI/CD / test (pull_request) Successful in 1m28s
CI/CD / typecheck (pull_request) Successful in 2m53s
CI/CD / smoke (pull_request) Failing after 2m5s
CI/CD / build (pull_request) Successful in 4m43s
CI/CD / publish (pull_request) Has been skipped

Stalwart's session advertises publicUrl-absolute endpoints; over the
ClusterIP those hairpin through Envoy and 403. Verified in-cluster:
apiUrl came back as https://smtp.ad.itaz.eu/jmap/.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Michal
2026-09-30 01:42:05 +01:00
parent c1f0117b80
commit 709068ce68

View File

@@ -1,7 +1,7 @@
name: jmap name: jmap
version: "1.0.0" version: "1.0.0"
description: JMAP email (Stalwart) — search/read/organize + drafts; send and delete gated off by env description: JMAP email (Stalwart) — search/read/organize + drafts; send and delete gated off by env
dockerImage: "mysources.co.uk/michal/jmap-mcp:0.6.5-drafts2" dockerImage: "mysources.co.uk/michal/jmap-mcp:0.6.5-drafts3"
transport: STDIO transport: STDIO
repositoryUrl: https://mysources.co.uk/michal/jmap-mcp repositoryUrl: https://mysources.co.uk/michal/jmap-mcp
# No command: the image's entrypoint IS the MCP server (deno run), mcpd # No command: the image's entrypoint IS the MCP server (deno run), mcpd
@@ -39,3 +39,7 @@ env:
description: "true = do not register delete_emails (move to Trash still works)" description: "true = do not register delete_emails (move to Trash still works)"
required: false required: false
defaultValue: "true" defaultValue: "true"
- name: JMAP_REBASE_SESSION_URLS
description: "true = rewrite the session's apiUrl/downloadUrl/uploadUrl/eventSourceUrl onto the session URL's origin. Required over a ClusterIP: Stalwart advertises its publicUrl and the hairpinned call 403s at Envoy."
required: false
defaultValue: "true"