smtp-relay
by djjudas21
Helm chartv0.8.0App 0.11.0Verified publisher
An SMTP smarthost relay for Kubernetes
About this chart
smtp-relay
An SMTP smarthost relay for Kubernetes
Homepage: https://github.com/djjudas21/charts/tree/main/charts/smtp-relay
Maintainers
| Name | Url | |
|---|---|---|
| djjudas21 | [email protected] |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | image pull policy |
| image.repository | string | "djjudas21/smtp-relay" | image repository |
| image.tag | string | chart.appVersion | image tag |
| imagePullSecrets | list | [] | |
| metrics.enabled | bool | false | Enable metrics sidecar |
| metrics.port | int | 9154 | Metrics port |
| metrics.prometheusRules.enabled | bool | false | Enable Prometheus rules for Prometheus Operator |
| metrics.serviceMonitor.enabled | bool | false | Enable Service Monitor for Prometheus Operator |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| persistence.accessMode | string | "ReadWriteOnce" | |
| persistence.enabled | bool | false | Enable mail queue persistence |
| persistence.size | string | "1Gi" | The storage space that should be claimed from the persistent volume |
| persistence.storageClass | string | "" | If undefined (the default) the default StorageClass is used |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| probes | object | {"liveness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":1},"readiness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":1}} | configure probes |
| replicaCount | int | 1 | Number of replicas |
| resources | object | {} | |
| secret | object | See values.yaml | Configures secret settings for the chart. |
| secret.annotations | object | {} | Additional annotations for the secret |
| secret.existingSecret | string | "" | Use existing secret for password details (smtp.password will be ignored and picked up from this secret). The secret must contain the key password |
| securityContext | object | {} | |
| service | object | See values.yaml | Configures service settings for the chart. |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | a name is generated using the fullname template | The name of the service account to use. |
| smtp.host | string | "" | Hostname of upstream SMTP server |
| smtp.message_size_limit | string | "10240000" | Size limit of messages |
| smtp.myhostname | string | "" | Hostname of THIS relay SMTP server |
| smtp.mynetworks | list | ["127.0.0.0/8","10.0.0.0/8"] | Networks to permit relaying from |
| smtp.password | string | "" | Password for upstream SMTP server |
| smtp.tls_security_level | string | "" | Default SMTP TLS security level for the Postfix SMTP client |
| smtp.tls_wrappermode | string | "no" | Connect using SUBMISSIONS/SMTPS protocol instead of STARTTLS |
| smtp.use_tls | string | "yes" | Enable TLS connection to upstream SMTP server |
| smtp.username | string | "" | Username for upstream SMTP server |
| tolerations | list | [] |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy smtp-relay with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has smtp-relay 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 chartsmtp-relay is pinned at v0.8.0 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