This commit is contained in:
2023-08-12 17:55:21 +02:00
parent d5b1f2841b
commit 30796fdb3e
3 changed files with 56 additions and 65 deletions

View File

@@ -205,7 +205,7 @@ resource "kubectl_manifest" "haraka_config" {
## database name or connection string for the attachments db
#gridfs: "attachments"
## database name or connection string for the outbound queue
sender: 'mongodb://${var.component}:${local.mongo-password}@${var.instance}-${var.component}-mongo-svc.${var.namespace}.svc:27017/zone-mta'
sender: 'zone-mta'
sender:
# Push messages to ZoneMTA queue for delivery
# if `false` then no messages are sent
@@ -224,7 +224,7 @@ resource "kubectl_manifest" "haraka_config" {
loopSecret: '${local.secrets.srs}'
srs:
# must be shared with ZoneMTA SRS config, otherwise messages sent from ZoneMTA are not recognized by Haraka
secret: 'secret value'
secret: '${local.secrets.srs}'
attachments:
type: 'gridstore'
bucket: 'attachments'