Repository navigation
Conversation
Bulwark 1.22.0 (ghcr.io/bulwarkmail/webmail, digest-pinned) runs in a new production-only bulwark namespace (#6662, step 2; ADR 0016). Nothing routes to it yet: the swap step serves it at mail.${domain} behind GitHub SSO. - Mailbox sign-in is Stalwart's OAuth only (OAUTH_ONLY, public client bulwark) against https://stalwart.${domain}. - NO_THIRD_PARTY_TRAFFIC, STALWART_FEATURES=false and STALWART_ADMIN_ACCESS=off. No ADMIN_PASSWORD: Bulwark 1.22.0 needs one only when its dashboard restricts admin access, and without one the dashboard stays disabled. - Sessions end after 15 minutes idle and 12 hours after sign-in (policy.json organisation.session); remember me is offered, unticked. - The admin config is a read-only ConfigMap; the generated session secret is a read-only file; state is on scratch volumes. - Restricted pod security, read-only root filesystem, UID 65532, one replica. Egress only to stalwart.${domain}:443 and its DNS lookup; no ingress. Readiness needs Stalwart's answer, so this deploys only after step 1 has published stalwart.${domain}. scripts/tests/bulwark pins the environment, session limits, file mounts, security context, egress and the absence of a route. docs/operations/bulwark.md covers updates and the planned route. Refs #6662 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅
|
✅
|
Code coverage overviewLanguages: Go Go / code-coverage/go
Line coverage data for the main branch is not yet available. View coverage of the 10 most covered files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
@codex review for the staged deployment with no route, the Stalwart dependency, and the criteria that must pass before exposing webmail |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 102b46c9b3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Summary
Step 2 of #6662: the Bulwark webmail is deployed in production with no route, so it can be proven before anyone can reach it.
Blocked until #6664 is deployed. Bulwark's readiness check calls
https://stalwart.${domain}, and theappslayer waits for Bulwark to be ready. If that name does not resolve yet,appstimes out and the merge queue evicts this PR.What
New production-only third-party app in
k8s/providers/hetzner/apps/bulwark/, modelled ongithub-broker:ghcr.io/bulwarkmail/webmail:1.22.0@sha256:d02b77b4…c5a8, the multi-platform index confirmed through GHCR's registry API. Its licence is AGPL-3.0-only, and running it unmodified adds no obligation. Third-party images need no signing attestor: Kyverno'sverify-app-imagescovers onlyghcr.io/devantler-tech/*.emptyDirvolumes for/app/data,/app/.next/cacheand/tmp;/api/health/liveand/api/health/ready.OAUTH_ENABLED,OAUTH_ONLY, public clientbulwark,JMAP_SERVER_URL=https://stalwart.${domain}). No password form.NO_THIRD_PARTY_TRAFFIC=true;STALWART_FEATURES=false, so password, two-factor and app passwords stay in Stalwart's/account;STALWART_ADMIN_ACCESS=offwith no admin password, so the dashboard stays disabled;ADMIN_CONFIG_READONLY=true, with config in Git.policy.jsonis{"organisation":{"session":{"idleMinutes":15,"maxHours":12,"warnSeconds":60}}}, checked against Bulwark 1.22.0's sanitizer (lib/admin/organisation-policy.ts) and its session docs. "Remember me" is shown but off by default, and a browser-only sign-in ends when the browser closes.SESSION_SECRET_FILE, from a non-rotating Password generator, mounted read-only.stalwart.${domain}:443, plus DNS for that name and*.cluster.local.scripts/tests/bulwark/deployment_test.gopins the security-critical settings.docs/operations/bulwark.md.Validation
ksail workload validateexits 0 for both configs.Not verified
stalwart.${domain}through the gateway load balancer, because no live workload uses it yet. The readiness check proves that too.stalwart.${domain}withSTALWART_PUBLIC_URL.🤖 Generated with Claude Code