Repository navigation
feat(deploy): mount the portal's SMTP credential - #617
Conversation
The platform now adds the site's send-only SES credential to business-site-runtime as smtp-username and smtp-password (devantler-tech/platform#6368, deployed and synced). Project both items so the portal settings can name them; nothing reads them until then. Document the two settings lines. Part of #21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codex review for The WebApp now projects smtp-username and smtp-password from business-site-runtime; check the package checker, tests and README agree, and that nothing reads the files before the portal settings name them. |
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. |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|

The portal emails order confirmations and withdrawal receipts itself (#615) through the site's send-only SES sender. The platform now adds that sender's credential to
business-site-runtimeassmtp-usernameandsmtp-password(devantler-tech/platform#6368, merged). This PR projects the two items so the portal settings can name them.What changes
deploy/webapp.yamlprojectssmtp-usernameandsmtp-passwordfrombusiness-site-runtimeat their own names.deploy/README.mdsays six items and adds Portal email inputs: the twoPORTAL_SMTP_*_FILEsettings lines and the optional defaults.Nothing reads the files until the portal settings name them. The portal queues email only for orders and withdrawals behind their false-default flags, and sends only while sign-in is on.
Why it is safe to ship now
A missing projected key keeps new pods from starting, so this had to wait for platform#6368. It has deployed. Read-only checks on the live cluster, status only, no values:
business-site-runtimeis at generation 2 withsmtp_usernameandsmtp_passwordin its data, and Ready=TrueSecretSynced.business-site-portal-egressallowsemail-smtp.eu-central-1.amazonaws.com.Validation
node --test scripts/tenant-package.test.mjs: 130 pass.scripts/tenant-runtime-smoke.test.mjsneeds the image CI builds; CI runs it with the new fixture items.Part of #21
🤖 Generated with Claude Code