stalwart: controllers: main: type: deployment replicas: 1 strategy: Recreate revisionHistoryLimit: 3 containers: main: image: repository: stalwartlabs/stalwart tag: v0.14.1 pullPolicy: IfNotPresent resources: requests: cpu: 10m memory: 128Mi service: main: controller: main ports: http: port: 80 targetPort: 8080 protocol: HTTP smtp: port: 25 targetPort: 25 protocol: TCP smtps: port: 465 targetPort: 465 protocol: TCP imap: port: 143 targetPort: 143 protocol: TCP imaps: port: 993 targetPort: 993 protocol: TCP persistence: config: forceRename: stalwart-config storageClass: ceph-block accessMode: ReadWriteOnce size: 10Gi retain: true advancedMounts: main: main: - path: /opt/stalwart readOnly: false postgres-17-cluster: mode: recovery cluster: storage: storageClass: local-path walStorage: storageClass: local-path monitoring: enabled: true prometheusRule: enabled: true resources: requests: cpu: 200m recovery: method: objectStore objectStore: destinationPath: s3://postgres-backups/cl01tl/stalwart/stalwart-postgresql-17-cluster endpointURL: http://garage-main.garage:3900 index: 1 endpointCredentials: stalwart-postgresql-17-cluster-backup-secret-garage backup: objectStore: - name: external destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/stalwart/stalwart-postgresql-17-cluster index: 1 retentionPolicy: "7d" isWALArchiver: false - name: garage-local destinationPath: s3://postgres-backups/cl01tl/stalwart/stalwart-postgresql-17-cluster index: 1 endpointURL: http://garage-main.garage:3900 endpointCredentials: stalwart-postgresql-17-cluster-backup-secret-garage endpointCredentialsIncludeRegion: true retentionPolicy: "7d" isWALArchiver: true # - name: garage-remote # destinationPath: s3://postgres-backups/cl01tl/stalwart/stalwart-postgresql-17-cluster # index: 1 # endpointURL: https://garage-ps10rp.boreal-beaufort.ts.net:3900 # endpointCredentials: stalwart-postgresql-17-cluster-backup-secret-garage # retentionPolicy: "30d" # data: # compression: bzip2 # jobs: 2 scheduledBackups: - name: daily-backup suspend: false schedule: "0 0 0 * * *" backupName: external - name: live-backup suspend: false immediate: true schedule: "0 0 0 * * *" backupName: garage-local # - name: weekly-backup # suspend: false # schedule: "0 0 4 * * SAT" # backupName: garage-remote