Skip to content

feat(mailpit): add cert-manager TLS support - #111

Merged
jouve merged 1 commit into
mainfrom
feat/mailpit-cert-manager-109
Sep 18, 2026
Merged

jouve merged 1 commit into
mainfrom
feat/mailpit-cert-manager-109

Conversation

@jouve

@jouve jouve commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

Closes #109.

What changed

  • mount an emptyDir at /tmp so Mailpit can write temporary self-signed certificates with a read-only root filesystem
  • add mailpit.smtp.tls.method with three modes:
    • auto: pass configurable auto.dnsNames through Mailpit’s sans: syntax so Mailpit generates the certificate
    • cert-manager: create a cert-manager Certificate using certManager.dnsNames and certManager.issuerRef
    • secret: mount the existing mailpit.smtp.tls.secretName
  • share DNS-name rendering between the auto and cert-manager modes
  • use the fixed <fullname>-smtp-tls Secret name in cert-manager mode
  • centralize the SMTP Service name in a template helper
  • update Mailpit to v1.31.1 and bump the chart to 0.37.0

Validation

  • helm lint charts/mailpit
  • rendered every file under charts/mailpit/ci/
  • ct --config .ct/ct.yaml lint --charts charts/mailpit
  • rendered custom DNS names for both auto and cert-manager, including custom Service name and cluster domain

@jouve
jouve force-pushed the feat/mailpit-cert-manager-109 branch 8 times, most recently from 674378c to 96bde58 Compare September 18, 2026 14:52
@jouve
jouve force-pushed the feat/mailpit-cert-manager-109 branch from 96bde58 to b4f2168 Compare September 18, 2026 15:04
@jouve
jouve merged commit 2802b9a into main Sep 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Certificate support for mailpit TLS/STARTTLS

1 participant