55 lines
1.2 KiB
YAML

## Stalwart Mail Server - Custom values for dvirlabs.com
## Override default chart values here
## Namespace
namespace: mail-services
## Image configuration
image:
repository: stalwartlabs/stalwart
tag: v0.13.0
pullPolicy: IfNotPresent
## Persistence - using NFS storage
persistence:
enabled: true
storageClass: nfs-client
accessMode: ReadWriteOnce
size: 30Gi # Increased for production mail storage
mountPath: /opt/stalwart-mail
## Ingress for admin UI only
ingress:
enabled: true
className: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
hosts:
- host: mail-admin.dvirlabs.com
paths:
- path: /
pathType: Prefix
servicePort: 8080
## Admin credentials
env:
STALWART_ADMIN_USER: "admin@dvirlabs.com"
## Secret configuration
## IMPORTANT: Change the adminPassword before deploying!
secret:
create: true
name: stalwart-credentials
# TODO: Replace with a strong password or use External Secrets
adminPassword: "CHANGE_ME_PLEASE_USE_STRONG_PASSWORD"
## Resource allocation
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "4Gi"
cpu: "2000m"