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

NameEmailUrl
djjudas21[email protected]

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"djjudas21/smtp-relay"image repository
image.tagstringchart.appVersionimage tag
imagePullSecretslist[]
metrics.enabledboolfalseEnable metrics sidecar
metrics.portint9154Metrics port
metrics.prometheusRules.enabledboolfalseEnable Prometheus rules for Prometheus Operator
metrics.serviceMonitor.enabledboolfalseEnable Service Monitor for Prometheus Operator
nameOverridestring""
nodeSelectorobject{}
persistence.accessModestring"ReadWriteOnce"
persistence.enabledboolfalseEnable mail queue persistence
persistence.sizestring"1Gi"The storage space that should be claimed from the persistent volume
persistence.storageClassstring""If undefined (the default) the default StorageClass is used
podAnnotationsobject{}
podSecurityContextobject{}
probesobject{"liveness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":1},"readiness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":1}}configure probes
replicaCountint1Number of replicas
resourcesobject{}
secretobjectSee values.yamlConfigures secret settings for the chart.
secret.annotationsobject{}Additional annotations for the secret
secret.existingSecretstring""Use existing secret for password details (smtp.password will be ignored and picked up from this secret). The secret must contain the key password
securityContextobject{}
serviceobjectSee values.yamlConfigures service settings for the chart.
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestringa name is generated using the fullname templateThe name of the service account to use.
smtp.hoststring""Hostname of upstream SMTP server
smtp.message_size_limitstring"10240000"Size limit of messages
smtp.myhostnamestring""Hostname of THIS relay SMTP server
smtp.mynetworkslist["127.0.0.0/8","10.0.0.0/8"]Networks to permit relaying from
smtp.passwordstring""Password for upstream SMTP server
smtp.tls_security_levelstring""Default SMTP TLS security level for the Postfix SMTP client
smtp.tls_wrappermodestring"no"Connect using SUBMISSIONS/SMTPS protocol instead of STARTTLS
smtp.use_tlsstring"yes"Enable TLS connection to upstream SMTP server
smtp.usernamestring""Username for upstream SMTP server
tolerationslist[]

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsmtp-relay is pinned at v0.8.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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