87 lines
1.6 KiB
YAML

## SnappyMail webmail configuration
## Default values for snappymail chart
## Image configuration
image:
repository: djmaze/snappymail
tag: "2.39"
pullPolicy: IfNotPresent
## Namespace
namespace: mail
## Replica count
replicaCount: 1
## Service configuration
service:
type: ClusterIP
port: 8888
targetPort: 8888
## Ingress configuration
ingress:
enabled: true
className: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
hosts:
- host: webmail.dvirlabs.com
paths:
- path: /
pathType: Prefix
tls: []
## Persistence configuration for SnappyMail data
persistence:
enabled: true
storageClass: nfs-client
accessMode: ReadWriteOnce
size: 1Gi
# Where SnappyMail stores its data
mountPath: /var/lib/snappymail
## Resource limits
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
## Stalwart mail server configuration
## SnappyMail will connect to Stalwart internally
stalwart:
# Service name of Stalwart in the same namespace
serviceName: stalwart
# IMAP configuration
imap:
host: stalwart.mail.svc.cluster.local
port: 993
secure: true
# SMTP configuration
smtp:
host: stalwart.mail.svc.cluster.local
port: 587
secure: true
## Environment variables
env: {}
## Pod Security Context
securityContext:
fsGroup: 82 # www-data group in Alpine
runAsUser: 82
runAsNonRoot: true
## Node selector
nodeSelector: {}
## Tolerations
tolerations: []
## Affinity
affinity: {}