mailpit
by jouve
Helm chartv0.39.1App 1.34.0GPL-3.0-or-laterVerified publisher
An email and SMTP testing tool with API for developers
About this chart
mailpit
usage
Prefered using oci:
helm install mailpit oci://ghcr.io/jouve/charts/mailpit
Charts pushed to oci:// are signed keyless via cosign and GitHub Actions OIDC. Verify with:
cosign verify ghcr.io/jouve/charts/mailpit:<version> \
--certificate-identity-regexp 'https://github.com/jouve/charts/\.github/workflows/release\.yaml@.*' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Or legacy repo:
helm repo add jouve https://jouve.github.io/charts/
helm install mailpit jouve/mailpit
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common
| Name | Description | Value |
|---|---|---|
clusterDomain | Kubernetes Cluster Domain | cluster.local |
image.registry | image registry | docker.io |
image.repository | image repository | axllent/mailpit |
image.tag | image tag (immutable tags are recommended) | v1.34.0 |
image.digest | image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended) | "" |
image.pullPolicy | image pull policy | IfNotPresent |
image.pullSecrets | image pull secrets | [] |
image.debug | Enable image debug mode | false |
commonLabels | Labels to add to all deployed objects | {} |
podLabels | Extra labels for pods | {} |
updateStrategy.type | statefulset strategy type | RollingUpdate |
podSecurityContext | SecurityContext for pods | {} |
containerSecurityContext | SecurityContext for pods | {} |
replicaCount | Number of replicas to deploy | 1 |
revisionHistoryLimit | The number of old history to retain to allow rollback | 10 |
resourcesPreset | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production). | nano |
priorityClassName | Name of the priority class to assign to the pods | "" |
resources | The resources for the containers | {} |
affinity | Pod affinity | {} |
args | Override default container args (useful when using custom images) | [] |
extraEnvVars | Array with extra environment variables to add to nodes | [] |
extraEnvVarsSecret | Name of existing Secret containing extra env vars for containers | "" |
extraVolumes | Optionally specify extra list of additional volumes for the pods | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for the containers | [] |
livenessProbe | Enables the livenessProbe for mailpit | {} |
readinessProbe | Enables the readinessProbe for mailpit | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#toleration-v1-core | [] |
enableServiceLinks | enabled by default https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26 | true |
mailpit.webroot | Set the webroot for web UI & API | / |
mailpit.ui.authFile.enabled | Adding basic authentication to web UI | false |
mailpit.ui.authFile.htpasswd | htpasswd content | "" |
mailpit.ui.authFile.existingSecret | Secret containing htpasswd content | {} |
mailpit.ui.tls.enabled | Enable tls for web UI | false |
mailpit.ui.tls.secretName | tls secret for web UI | "" |
mailpit.smtp.authFile.enabled | Adding SMTP authentication | false |
mailpit.smtp.authFile.htpasswd | htpasswd content | "" |
mailpit.smtp.authFile.existingSecret | Secret containing htpasswd content | {} |
mailpit.smtp.tls.enabled | Enable TLS for SMTP | false |
mailpit.smtp.tls.method | TLS certificate source: generated by Mailpit (auto), cert-manager (cert-manager) or an existing Secret (secret) | secret |
mailpit.smtp.tls.secretName | Existing TLS Secret for SMTP when method is secret | "" |
mailpit.smtp.tls.auto.dnsNames | DNS names included in the certificate generated by Mailpit. Defaults to the SMTP Service names | [] |
mailpit.smtp.tls.certManager.dnsNames | DNS names included in the certificate. Defaults to the SMTP Service names | [] |
mailpit.smtp.tls.certManager.issuerRef | cert-manager issuer for the certificate | {} |
mailpit.relay.enabled | enable SMTP Relay configuration | false |
mailpit.relay.config | Mailpit SMTP relay configuration |
Deploy mailpit with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mailpit on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmailpit is pinned at v0.39.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply